/* =====================================================================
   GigAnywhere - Design System
   Verified remote work marketplace
   ===================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* Brand — Indigo */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;
  --brand-950: #1e1b4b;

  /* Verified — Emerald */
  --verified-50:  #ecfdf5;
  --verified-100: #d1fae5;
  --verified-200: #a7f3d0;
  --verified-300: #6ee7b7;
  --verified-400: #34d399;
  --verified-500: #10b981;
  --verified-600: #059669;
  --verified-700: #047857;
  --verified-800: #065f46;

  /* Accent — Amber */
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Danger — Rose */
  --danger-500: #f43f5e;
  --danger-600: #e11d48;

  /* Neutrals — Slate */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Surfaces */
  --bg:         #ffffff;
  --bg-soft:    #f8fafc;
  --bg-muted:   #f1f5f9;
  --bg-dark:    #0b1027;
  --bg-darker:  #070b1f;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-display: "Inter", system-ui, sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.09), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 0 8px rgba(99, 102, 241, 0.08);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 880px;
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 220ms;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
p  { color: var(--slate-700); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--slate-600); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-700);
  padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.eyebrow.eyebrow-light {
  color: var(--brand-200);
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.24);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.18);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.wide   { max-width: var(--container-wide); }
.container.narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(72px, 9vw, 128px) 0;
  position: relative;
}
.section.tight { padding: clamp(56px, 6vw, 88px) 0; }
.section.bg-soft  { background: var(--bg-soft); }
.section.bg-muted { background: var(--bg-muted); }
.section.bg-dark {
  background: linear-gradient(180deg, #0a0e27 0%, #0b1230 100%);
  color: #cdd5f1;
}
.section.bg-dark h1, .section.bg-dark h2, .section.bg-dark h3,
.section.bg-dark h4, .section.bg-dark h5 { color: #f3f4ff; }
.section.bg-dark p { color: #b8c0e0; }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-top: 14px; }
.section-head p  { margin-top: 18px; }

.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-6 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform var(--duration) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 12px 24px -8px rgba(79, 70, 229, 0.6); }

.btn-secondary {
  background: #fff; color: var(--slate-900);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--slate-300); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent; color: var(--slate-700);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--slate-100); color: var(--slate-900); }

.btn-dark {
  background: var(--slate-900); color: #fff;
}
.btn-dark:hover { background: var(--slate-800); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.24);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.btn.lg { padding: 16px 28px; font-size: 1rem; border-radius: 12px; }
.btn.sm { padding: 9px 16px; font-size: 0.85rem; }
.btn.block { width: 100%; }

.button-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--slate-100); color: var(--slate-700);
}
.badge-verified { background: var(--verified-50); color: var(--verified-700); border: 1px solid var(--verified-200); }
.badge-managed  { background: var(--brand-50);    color: var(--brand-700);    border: 1px solid var(--brand-100); }
.badge-warning  { background: #fff7ed;            color: #b45309;             border: 1px solid #fed7aa; }
.badge-soft     { background: rgba(15, 23, 42, 0.05); color: var(--slate-700); }
.badge .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.7; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--slate-200);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; color: var(--slate-900);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.4);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { line-height: 1; }
.brand-name b { color: var(--brand-700); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a, .nav-links button.menu-trigger {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-size: 0.95rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover, .nav-links a.active, .nav-links button.menu-trigger:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-menu-wrap { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.nav-menu-wrap.open .nav-menu,
.nav-menu-wrap:hover .nav-menu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.nav-menu a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--slate-800);
}
.nav-menu a:hover { background: var(--slate-100); }
.nav-menu a .menu-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.nav-menu a .menu-text { font-size: 0.92rem; }
.nav-menu a .menu-text small { display: block; color: var(--slate-500); margin-top: 2px; font-weight: 400; }

.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}
.mobile-toggle svg { margin: auto; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn-secondary { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
}

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0 0 0 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 60;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.mobile-nav-panel .close {
  align-self: flex-end;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
}
.mobile-nav-panel a {
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  color: var(--slate-800); font-weight: 500;
}
.mobile-nav-panel a:hover { background: var(--slate-100); }
.mobile-nav-panel .group-title {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--slate-500);
  margin: 16px 14px 4px;
}
.mobile-nav-panel .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(99,102,241,0.18), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(16,185,129,0.10), transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin-top: 22px; }
.hero p.lead { margin-top: 22px; max-width: 560px; }
.hero .button-row { margin-top: 28px; }
.hero-trust {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--slate-500); font-size: 0.9rem;
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .item svg { color: var(--verified-600); }

/* ---------- Dashboard mockup (hero visual) ---------- */
.dashboard {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 14px;
}
.dashboard::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(16,185,129,0.12)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
}
@media (max-width: 720px) {
  .dashboard { grid-template-columns: 1fr; }
}
.dash-col {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 14px;
  min-height: 240px;
  display: flex; flex-direction: column; gap: 10px;
}
.dash-col h6 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--slate-500); margin: 0 0 4px;
}
.dash-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}
.dash-row.muted { background: transparent; border: none; padding: 4px 0; color: var(--slate-500); }
.dash-row .k { color: var(--slate-500); }
.dash-row .v { font-weight: 600; color: var(--slate-900); }

.avatar {
  width: 24px; height: 24px; border-radius: 999px;
  background: linear-gradient(135deg, #fcd5ce, #f8a5c2);
  display: inline-grid; place-items: center;
  font-size: 0.7rem; font-weight: 700; color: #7a1f3d;
  flex: none;
}
.avatar.b { background: linear-gradient(135deg, #c7d2fe, #818cf8); color: #2b2870; }
.avatar.c { background: linear-gradient(135deg, #bbf7d0, #34d399); color: #064e3b; }

.progress {
  height: 6px; background: var(--slate-200); border-radius: 999px; overflow: hidden;
}
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-500), var(--verified-500)); }

.session-tick {
  display: grid; grid-template-columns: 12px 1fr;
  gap: 10px; align-items: flex-start;
  font-size: 0.82rem;
}
.session-tick .bullet {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--verified-500);
  margin-top: 5px;
  box-shadow: 0 0 0 3px var(--verified-100);
}
.session-tick.warn .bullet { background: var(--accent-500); box-shadow: 0 0 0 3px #fde68a; }
.session-tick .label { color: var(--slate-700); }
.session-tick .label time { color: var(--slate-500); display: block; font-size: 0.74rem; }

.ai-note {
  background: linear-gradient(180deg, #f5f3ff, #ede9fe);
  border: 1px solid #ddd6fe;
  color: #4c1d95;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
}
.ai-note::before {
  content: "AI"; position: absolute; top: -10px; left: 10px;
  background: var(--brand-600); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 6px; border-radius: 4px;
}

.deliverable {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm); padding: 8px 10px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem;
}
.deliverable .file-icon {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center;
}

.dash-cta {
  margin-top: auto;
  background: var(--brand-600); color: #fff;
  border-radius: var(--radius-sm);
  padding: 9px; text-align: center;
  font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(79,70,229,0.55);
}

/* Floating cards near dashboard */
.dash-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  z-index: 2;
}
.dash-float .icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--verified-50); color: var(--verified-700);
}
.dash-float.top    { top: -18px; left: 24px; }
.dash-float.bottom { bottom: -18px; right: 24px; background: #fff; }
@media (max-width: 720px) {
  .dash-float { display: none; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--slate-300); transform: translateY(-2px); }
.card .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700);
  margin-bottom: 16px;
}
.card.icon-emerald .icon-wrap { background: var(--verified-50); color: var(--verified-700); }
.card.icon-amber   .icon-wrap { background: #fff7ed; color: #b45309; }
.card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.card p  { font-size: 0.95rem; color: var(--slate-600); }

.card.flat { box-shadow: none; }
.card.dark { background: #11173a; border-color: rgba(255,255,255,0.08); color: #cfd6f5; }
.card.dark h4 { color: #fff; }
.card.dark p { color: #aab2d8; }
.card.dark .icon-wrap { background: rgba(99,102,241,0.18); color: #c7d2fe; }

/* Big feature card */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
}
.feature-row h3 { margin-bottom: 14px; }
.feature-row p  { color: var(--slate-600); }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.feature-list .item { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .item .check {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--verified-100); color: var(--verified-700);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.feature-list .item .check svg { width: 12px; height: 12px; }
.feature-list .item strong { color: var(--slate-900); }
.feature-list .item span { color: var(--slate-600); display: block; margin-top: 2px; font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step .step-num {
  width: 36px; height: 36px;
  background: var(--brand-600); color: #fff;
  display: grid; place-items: center;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p  { font-size: 0.95rem; color: var(--slate-600); }

/* ---------- Comparison table ---------- */
.compare-table {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left;
}
.compare-table thead th {
  background: var(--slate-50);
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--slate-600);
  font-weight: 600;
}
.compare-table tbody tr + tr td { border-top: 1px solid var(--slate-100); }
.compare-table td.label { font-weight: 500; color: var(--slate-800); }
.compare-table .yes { color: var(--verified-700); font-weight: 600; }
.compare-table .no  { color: var(--slate-400); }
.compare-table .maybe { color: var(--accent-600); font-weight: 600; }
.compare-table th.col-brand {
  background: linear-gradient(180deg, rgba(99,102,241,0.10), rgba(99,102,241,0.02));
  color: var(--brand-700);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.plan.featured {
  border-color: var(--brand-300);
  box-shadow: 0 30px 60px -30px rgba(79,70,229,0.45);
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.plan .plan-name { font-weight: 700; font-size: 1.05rem; color: var(--slate-900); }
.plan .plan-tag { font-size: 0.85rem; color: var(--slate-500); }
.plan .plan-price {
  font-size: 2.25rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}
.plan .plan-price .suffix { font-size: 0.9rem; color: var(--slate-500); font-weight: 500; }
.plan ul.plan-features { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; }
.plan ul.plan-features li {
  display: flex; gap: 10px; font-size: 0.95rem; color: var(--slate-700);
}
.plan ul.plan-features li::before {
  content: ""; flex: none;
  width: 18px; height: 18px;
  background: var(--verified-100); color: var(--verified-700);
  border-radius: 999px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.plan .plan-badge {
  position: absolute; top: -10px; left: 32px;
  background: var(--brand-600); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 800px; margin: 0 auto;
}
.faq {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  color: var(--slate-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem; color: var(--slate-500);
  transition: transform var(--duration) var(--ease);
}
.faq[open] summary::after { content: "−"; }
.faq .faq-body {
  padding: 0 24px 20px;
  color: var(--slate-600);
  font-size: 0.96rem;
}

/* ---------- Stats / numbers ---------- */
.stats {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--slate-900);
}
.stat .num .unit { color: var(--brand-600); }
.stat .lbl { color: var(--slate-500); font-size: 0.95rem; }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 36px 56px;
  align-items: center; justify-content: center;
  opacity: 0.7;
}
.logo-strip .logo {
  font-weight: 700; color: var(--slate-500);
  font-size: 1.1rem; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: linear-gradient(180deg, #f9faff, #fff);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.quote-card blockquote {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--slate-800);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote-card .who {
  margin-top: 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--slate-600);
}
.quote-card .who .avatar { width: 38px; height: 38px; font-size: 0.85rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(99,102,241,0.5), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(16,185,129,0.4), transparent 60%),
    linear-gradient(135deg, #1e1b4b, #0b1230);
  overflow: hidden;
}
.cta-banner h2 { color: #fff; max-width: 720px; }
.cta-banner p { color: #c8d0f0; margin-top: 14px; max-width: 640px; }
.cta-banner .button-row { margin-top: 28px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: 80px 0 36px;
}
.footer h6 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a {
  color: var(--slate-400);
  font-size: 0.92rem;
}
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: var(--slate-500); font-size: 0.85rem;
}
.footer .brand { color: #fff; }
.footer .brand-name b { color: var(--brand-300); }
.footer-desc { color: var(--slate-400); margin-top: 14px; max-width: 320px; font-size: 0.92rem; }

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex; background: var(--slate-100);
  border-radius: var(--radius-full); padding: 4px; gap: 4px;
}
.tabs button {
  padding: 8px 16px; border-radius: 999px;
  font-weight: 500; color: var(--slate-600);
  font-size: 0.9rem;
}
.tabs button.active {
  background: #fff; color: var(--slate-900);
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: var(--slate-700);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--slate-900);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .help { color: var(--slate-500); font-size: 0.82rem; margin-top: 6px; }

/* ---------- Use case tiles ---------- */
.use-case {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.use-case:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.use-case .uc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), #fff);
  color: var(--brand-700);
  margin-bottom: 14px;
}
.use-case h4 { font-size: 1.05rem; margin-bottom: 6px; }
.use-case p { font-size: 0.92rem; color: var(--slate-600); }
.use-case .uc-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.use-case .uc-tags span {
  font-size: 0.75rem; background: var(--slate-100); color: var(--slate-700);
  padding: 3px 8px; border-radius: 999px;
}
.use-case a.uc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  color: var(--brand-700); font-weight: 600; font-size: 0.9rem;
}
.use-case a.uc-link:hover { color: var(--brand-800); }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  display: flex; gap: 6px; align-items: center;
  font-size: 0.85rem; color: var(--slate-500);
  margin-bottom: 24px;
}
.crumbs a { color: var(--slate-500); }
.crumbs a:hover { color: var(--slate-700); }
.crumbs .sep { color: var(--slate-400); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(99,102,241,0.14), transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.page-hero h1 { margin-top: 12px; }
.page-hero p.lead { margin-top: 18px; max-width: 720px; }

/* ---------- Persona / blockquote-like callout ---------- */
.callout {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1px solid #ddd6fe;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: #4c1d95;
  font-size: 0.98rem;
}
.callout.emerald {
  background: linear-gradient(135deg, var(--verified-50), #d1fae5);
  border-color: #a7f3d0;
  color: #065f46;
}
.callout.amber {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-color: #fed7aa;
  color: #92400e;
}
.callout strong { color: inherit; }

/* ---------- Worker dashboard mock (for For Workers page) ---------- */
.worker-mock {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.worker-mock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.worker-mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.task-card {
  display: grid; grid-template-columns: 32px 1fr auto;
  align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--slate-50); border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}
.task-card .check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--slate-300);
}
.task-card.done .check {
  background: var(--verified-500); border-color: var(--verified-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.task-card.done .title { color: var(--slate-500); text-decoration: line-through; }
.task-card .title { font-weight: 500; font-size: 0.95rem; color: var(--slate-800); }
.task-card .meta { font-size: 0.8rem; color: var(--slate-500); }

/* ---------- Misc utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.subtle  { color: var(--slate-500); }
.muted   { color: var(--slate-600); }
.strong  { color: var(--slate-900); font-weight: 600; }
.kbd {
  font-family: var(--font-mono); font-size: 0.78rem;
  padding: 2px 6px; border-radius: 4px;
  background: var(--slate-100); border: 1px solid var(--slate-200);
}
hr.div {
  height: 1px; background: var(--slate-200);
  border: 0; margin: 32px 0;
}

/* ---------- Animations (reveal on scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* ---------- Code/note inline ---------- */
.note {
  padding: 16px 18px;
  background: var(--slate-50);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-size: 0.95rem;
}
.note strong { color: var(--slate-900); }

/* ---------- Sticky side TOC (for legal/long pages) ---------- */
.split {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 48px;
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split .toc { position: static !important; }
}
.toc {
  position: sticky; top: calc(var(--nav-height) + 16px);
  align-self: start;
  border-left: 1px solid var(--slate-200);
  padding-left: 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.9rem;
}
.toc a {
  color: var(--slate-600); padding: 4px 0; display: block;
}
.toc a:hover { color: var(--slate-900); }
.toc a.active { color: var(--brand-700); font-weight: 600; }
.long-prose h2 { margin-top: 56px; }
.long-prose h3 { margin-top: 36px; }
.long-prose p, .long-prose ul, .long-prose ol { margin-top: 14px; }
.long-prose ul li, .long-prose ol li { list-style: disc; margin-left: 18px; color: var(--slate-700); padding-left: 6px; }
.long-prose ol li { list-style: decimal; }
