/* =========================================================
   BMS â€” Business Management System
   Made by Harish Joshi â€” HabitHub-inspired clean theme
   ========================================================= */

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #25d366;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  /* Remap legacy blue tokens â†’ green accents */
  --blue-50: var(--green-50);
  --blue-100: var(--green-100);
  --blue-200: var(--green-200);
  --blue-500: var(--green-500);
  --blue-600: var(--green-600);
  --blue-700: var(--green-700);
  --indigo-500: var(--green-500);
  --indigo-600: var(--green-600);
  --indigo-700: var(--green-800);

  --slate-50: #fafafa;
  --slate-100: #f4f4f5;
  --slate-200: #e4e4e7;
  --slate-300: #d4d4d8;
  --slate-400: #a1a1aa;
  --slate-500: #71717a;
  --slate-600: #52525b;
  --slate-700: #3f3f46;
  --slate-800: #27272a;
  --slate-900: #18181b;
  --white: #ffffff;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --text: var(--slate-800);
  --muted: var(--slate-500);
  --border: rgba(24, 24, 27, 0.1);
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.04);
  --shadow: 0 8px 24px rgba(24, 24, 27, 0.06);
  --shadow-lg: 0 18px 40px rgba(24, 24, 27, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-full: 999px;
  --header-h: 64px;
  --container: 1100px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --grad: linear-gradient(135deg, #25d366, #16a34a);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-image: url("assets/hero-abstract-light.png");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--slate-900);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(37, 211, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 211, 102, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.bg-glow--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: rgba(37, 211, 102, 0.22);
}

.bg-glow--2 {
  width: 420px;
  height: 420px;
  top: 40%;
  left: -160px;
  background: rgba(37, 211, 102, 0.16);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.nav {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
}

.nav__brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  gap: 0.05rem;
  text-align: center;
}

.nav__brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav__company {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #57534e;
}

.nav__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.nav__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav__links a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.06);
}

.nav__cta {
  margin-left: 0.25rem;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.9rem 1.35rem;
  font-size: 0.98rem;
}

.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.36);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--slate-700);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(37, 211, 102, 0.35);
  color: var(--blue-700);
  background: var(--white);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 242, 255, 0.45));
}

.section__header {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__header h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  margin-bottom: 0.85rem;
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.glass {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay {
  transition-delay: 0.12s;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.16);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero__subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.creator-credit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.creator-credit__label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

.creator-credit__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.creator-credit--hero {
  margin-top: 0.25rem;
}

/* Dashboard preview — click cycles ERP → CRM → RD Ops */
.dash-scene {
  perspective: 1400px;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.dash-preview {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff 0%, #f7f7f8 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  min-height: 340px;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.dash-preview:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45), var(--shadow-lg);
}

.dash-preview.is-turning {
  animation: dashTurn 0.45s var(--ease);
}

@keyframes dashTurn {
  0% { transform: rotateY(0deg); }
  45% { transform: rotateY(88deg) scale(0.98); opacity: 0.65; }
  55% { transform: rotateY(-88deg) scale(0.98); opacity: 0.65; }
  100% { transform: rotateY(0deg); opacity: 1; }
}

.dash-preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--border);
}

.dash-preview__bar > span:not(.dash-preview__hint) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.dash-preview__bar > span:nth-child(1) { background: #f87171; }
.dash-preview__bar > span:nth-child(2) { background: #fbbf24; }
.dash-preview__bar > span:nth-child(3) { background: #34d399; }

.dash-preview__title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
}

.dash-preview__hint {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-600);
  background: rgba(37, 211, 102, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  width: auto !important;
  height: auto !important;
}

.dash-views {
  position: relative;
  min-height: 280px;
}

.dash-view {
  padding: 1rem;
  animation: dashViewIn 0.4s var(--ease);
}

.dash-view[hidden] {
  display: none !important;
}

@keyframes dashViewIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.dash-cover {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 211, 102, 0.12), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(22, 163, 74, 0.1), transparent 45%),
    rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(37, 211, 102, 0.22);
}

.dash-cover__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}

.dash-cover h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate-900);
}

.dash-cover p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-cover__pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dash-cover__pills span {
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.1);
}

.dash-mod__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.1);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.dash-mod--crm .dash-mod__tag {
  color: #15803d;
  background: rgba(15, 118, 110, 0.1);
}

.dash-mod--ops .dash-mod__tag {
  color: var(--indigo-700);
  background: rgba(22, 163, 74, 0.1);
}

.dash-mod--sales .dash-mod__tag {
  color: #166534;
  background: rgba(37, 211, 102, 0.14);
}

.dash-mod__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.dash-mod__card {
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.dash-mod__card span {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.dash-mod__card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.1;
}

.dash-mod__card em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  color: #059669;
}

.dash-mod__list {
  margin: 0;
  padding: 0.65rem 0.85rem;
  list-style: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.dash-mod__list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.8rem;
  color: var(--slate-600);
  margin: 0.25rem 0;
}

.dash-mod__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}

.dash-mod__pipeline {
  margin-top: 0.15rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.dash-mod__bars {
  height: 72px;
  margin-top: 0.15rem;
  padding: 0.55rem 0.65rem 0.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  margin-top: 0.5rem;
}

.chart-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--grad);
  opacity: 0.85;
  transform-origin: bottom;
  animation: growBar 1.1s var(--ease) both;
}

.chart-bars i:nth-child(odd) {
  opacity: 0.55;
}

@keyframes growBar {
  from { transform: scaleY(0.2); opacity: 0.3; }
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.pipeline__col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 72px;
  padding: 0.35rem;
  border-radius: 8px;
  background: var(--slate-50);
}

.pipeline__col b {
  display: block;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.25), rgba(22, 163, 74, 0.45));
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.problem-card {
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--blue-600);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(22, 163, 74, 0.1));
}

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

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.problem-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.module-card {
  border-radius: var(--radius);
  padding: 1.55rem 1.4rem 1.45rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.25s ease;
  cursor: pointer;
}

.module-card:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 2px;
}

.module-card.is-active {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: var(--shadow-lg);
}

.module-card__hint {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: #15803d;
  background: #f0fdf4;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.module-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.module-modal[hidden] {
  display: none !important;
}

.module-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 27, 0.55);
  backdrop-filter: blur(4px);
}

.module-modal__box {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(84vh, 780px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(24, 24, 27, 0.1);
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.2);
  padding: 1.25rem 1.3rem 1.4rem;
  animation: techModalIn 0.28s var(--ease);
}

.module-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.module-modal__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15803d;
  background: #f0fdf4;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.module-modal__head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.module-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--slate-700);
  flex-shrink: 0;
}

.module-modal__close:hover {
  background: #f0fdf4;
  color: #15803d;
}

.module-modal__desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.module-modal__workflow {
  margin-bottom: 1.15rem;
}

.module-modal__workflow-title,
.module-modal__features-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.module-modal__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.module-modal__flow-step {
  position: relative;
  border: 1px solid rgba(37, 211, 102, 0.28);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border-radius: 12px;
  padding: 0.7rem 0.55rem 0.75rem;
  text-align: center;
  min-width: 0;
}

.module-modal__flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.35rem;
  width: 0.28rem;
  height: 0.28rem;
  border-top: 2px solid #25d366;
  border-right: 2px solid #25d366;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.module-modal__flow-num {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.module-modal__flow-step strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink, #18181b);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.module-modal__flow-step span:last-child {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.25;
}

.module-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.module-modal__list li {
  position: relative;
  padding: 0.65rem 0.8rem 0.65rem 1.7rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--slate-700);
}

.module-modal__list li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .module-modal__flow {
    grid-template-columns: 1fr;
  }

  .module-modal__flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -0.35rem;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .module-modal__flow-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
  }

  .module-modal__flow-num {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.9;
}

.module-card--erp::before {
  background: linear-gradient(90deg, #25d366, #86efac);
}

.module-card--ops::before {
  background: linear-gradient(90deg, #16a34a, #818cf8);
}

.module-card--crm::before {
  background: linear-gradient(90deg, #16a34a, #25d366);
}

.module-card--sales::before {
  background: linear-gradient(90deg, #15803d, #4ade80);
}

.module-card--jobber::before {
  background: linear-gradient(90deg, #0f766e, #25d366);
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.module-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.module-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.28);
}

.module-card__icon svg {
  width: 22px;
  height: 22px;
}

.module-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.module-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.module-card > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.15rem;
}

.feature-list {
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--slate-700);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

/* Architecture */
.arch-diagram {
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.arch-node {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--slate-800);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.arch-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 211, 102, 0.3);
}

.arch-node__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: rgba(37, 211, 102, 0.1);
}

.arch-node__icon svg {
  width: 18px;
  height: 18px;
}

.arch-node--gateway {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(22, 163, 74, 0.1));
  border-color: rgba(37, 211, 102, 0.22);
}

.arch-node--db {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(37, 211, 102, 0.08));
}

.arch-connector {
  display: flex;
  justify-content: center;
  padding: 0.15rem 0;
}

.arch-connector span {
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.55));
  position: relative;
}

.arch-connector span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: translateX(-50%) rotate(45deg);
}

.arch-domains {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 960px);
  margin: 0.35rem 0;
}

@media (max-width: 900px) {
  .arch-domains {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .arch-domains {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.arch-domain {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font: inherit;
  color: inherit;
}

.arch-domain strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: var(--slate-900);
}

.arch-domain span {
  font-size: 0.82rem;
  color: var(--muted);
}

.arch-domain:hover,
.arch-domain.is-active {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.12);
  background: linear-gradient(180deg, #fff, #f5f8ff);
}

.arch-domain.is-active {
  outline: 2px solid rgba(37, 211, 102, 0.18);
}

.arch-detail {
  width: min(100%, 760px);
  margin: 0.25rem 0 0.5rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.12);
}

.arch-detail__text {
  font-size: 0.94rem;
  color: var(--slate-700);
  text-align: center;
}

/* Tech */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.tech-card {
  border-radius: var(--radius-sm);
  padding: 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: inherit;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 211, 102, 0.25);
}

.tech-card:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 2px;
}

.tech-card.is-active {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}

.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tech-modal[hidden] {
  display: none !important;
}

.tech-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 27, 0.55);
  backdrop-filter: blur(4px);
}

.tech-modal__box {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(82vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(24, 24, 27, 0.1);
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.2);
  padding: 1.15rem 1.2rem 1.25rem;
  animation: techModalIn 0.28s var(--ease);
}

@keyframes techModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.tech-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.tech-modal__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.tech-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--slate-700);
}

.tech-modal__close:hover {
  background: #f0fdf4;
  color: #15803d;
}

.tech-modal__desc {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.tech-modal__code {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #18181b;
  color: #e4e4e7;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-modal__code code {
  font: inherit;
  white-space: pre;
}

.tech-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(22, 163, 74, 0.1));
  overflow: hidden;
}

.tech-card__icon svg,
.tech-card__icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.tech-card__abbr {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-700);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(22, 163, 74, 0.14));
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: var(--indigo-600);
  background: rgba(22, 163, 74, 0.1);
}

.feature-card__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

.stat-strip {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.benefit-item__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: rgba(37, 211, 102, 0.45);
  line-height: 1;
  padding-top: 0.15rem;
}

.benefit-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.benefit-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.security-card {
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.security-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.security-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.security-card--wide {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(22, 163, 74, 0.1));
  border-color: rgba(37, 211, 102, 0.18);
}

/* Workflow */
.workflow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.workflow > li {
  display: flex;
  list-style: none;
}

.workflow > li:not(.workflow__arrow) {
  flex: 1 1 120px;
  min-width: 120px;
}

.workflow__step {
  width: 100%;
  text-align: center;
  padding: 1.15rem 0.85rem 0.95rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.workflow__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.workflow__step:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 2px;
}

.workflow__step.is-active {
  border-color: rgba(37, 211, 102, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.workflow__badge {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.28);
}

.workflow__step h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.workflow__step p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 0.55rem;
}

.workflow__hint {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-600);
  background: rgba(37, 211, 102, 0.08);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.workflow__arrow {
  display: flex;
  align-items: center;
  color: var(--blue-500);
  flex: 0 0 auto;
  width: 28px;
}

.workflow__arrow svg {
  width: 22px;
  height: 22px;
}

/* Dynamic workflow stage screens */
.workflow-stage {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.workflow-stage__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--border);
}

.workflow-stage__bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.workflow-stage__bar > span:nth-child(1) { background: #f87171; }
.workflow-stage__bar > span:nth-child(2) { background: #fbbf24; }
.workflow-stage__bar > span:nth-child(3) { background: #34d399; }

.workflow-stage__title {
  margin-left: 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--slate-600);
}

.workflow-screen {
  padding: 1.15rem 1.2rem 1.35rem;
  animation: flowIn 0.35s var(--ease);
}

.workflow-screen[hidden] {
  display: none !important;
}

@keyframes flowIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.flow-login {
  max-width: 340px;
  margin: 0.4rem auto;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.flow-login__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.flow-login__sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.2rem 0 1rem;
}

.flow-field {
  display: block;
  margin-bottom: 0.7rem;
}

.flow-field span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 0.28rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flow-field input {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: var(--slate-50);
  color: var(--slate-700);
}

.flow-login__row {
  display: flex;
  gap: 0.4rem;
  margin: 0.35rem 0 0.9rem;
}

.flow-chip {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.08);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.flow-btn {
  text-align: center;
  padding: 0.72rem 1rem;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 650;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.flow-dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.flow-dash__head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.flow-dash__head span {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.1);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.flow-dash__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.flow-stat {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  text-align: center;
}

.flow-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--slate-900);
}

.flow-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.flow-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding: 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
}

.flow-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--grad);
  opacity: 0.85;
  height: calc(35% + (var(--i, 0) * 10%));
}

.flow-bars i:nth-child(1) { height: 45%; }
.flow-bars i:nth-child(2) { height: 62%; opacity: 0.65; }
.flow-bars i:nth-child(3) { height: 50%; }
.flow-bars i:nth-child(4) { height: 78%; opacity: 0.7; }
.flow-bars i:nth-child(5) { height: 58%; }
.flow-bars i:nth-child(6) { height: 88%; opacity: 0.75; }

.flow-ops__tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.flow-ops__tabs span {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--slate-500);
  background: rgba(148, 163, 184, 0.15);
}

.flow-ops__tabs span.is-on {
  color: #fff;
  background: var(--grad);
}

.flow-ops__list {
  display: grid;
  gap: 0.55rem;
}

.flow-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  font-size: 0.84rem;
}

.flow-row b { font-family: var(--font-display); color: var(--slate-900); }
.flow-row span { color: var(--slate-600); }
.flow-row em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 650;
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.flow-db__label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--blue-700);
  margin-bottom: 0.7rem;
}

.flow-db__table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.flow-db__head,
.flow-db__row {
  display: grid;
  grid-template-columns: 70px 1.2fr 70px 70px;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
}

.flow-db__head {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-weight: 650;
}

.flow-db__row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.flow-db__note,
.flow-analytics__note {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.flow-analytics__kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.flow-analytics__kpi > div {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.flow-analytics__kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--slate-900);
}

.flow-analytics__kpi span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.flow-analytics__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  padding: 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
}

.flow-analytics__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--grad);
  opacity: 0.8;
}

@media (max-width: 720px) {
  .flow-dash__grid,
  .flow-analytics__kpi {
    grid-template-columns: 1fr 1fr;
  }

  .flow-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .flow-db__head,
  .flow-db__row {
    grid-template-columns: 50px 1fr 50px 50px;
    font-size: 0.7rem;
  }
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.role-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.role-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.role-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.roadmap-card {
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.roadmap-card__phase {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: rgba(37, 211, 102, 0.1);
}

.roadmap-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.roadmap-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.roadmap-card--wide {
  grid-column: span 3;
}

/* CTA */
.cta-section {
  padding-top: 2rem;
}

.cta-panel {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, rgba(187, 247, 208, 0.28), transparent 50%),
    radial-gradient(ellipse 70% 70% at 90% 100%, rgba(134, 239, 172, 0.22), transparent 45%),
    linear-gradient(135deg, #16a34a 0%, #25d366 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  max-width: 18ch;
  margin: 0 auto 1rem;
}

.cta-panel > p {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.creator-credit--cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.creator-credit--cta .creator-credit__label {
  color: rgba(255, 255, 255, 0.75);
}

.creator-credit--cta .creator-credit__name {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--slate-900);
}

.footer__credit {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-700);
}

.footer__note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.1rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-700);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--white);
  color: var(--indigo-600);
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 95;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.wa-float .wa-icon,
.wa-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.btn--whatsapp {
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.2) !important;
  border-color: #25d366 !important;
}

.btn--whatsapp-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp-solid:hover {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
  color: #fff !important;
}

.btn--whatsapp-solid .wa-icon {
  width: 22px;
  height: 22px;
}

.custom-project {
  display: grid;
  gap: 1.35rem;
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--radius);
  max-width: 720px;
  margin-inline: auto;
}

.section__header--follow {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.project-parts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.project-part {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
}

.project-part h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.project-part--wide {
  grid-column: 1 / -1;
}

.custom-project__person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-project__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #16a34a);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.custom-project__name {
  margin: 0 0 0.15rem;
  font-size: 1.25rem;
}

.custom-project__role,
.custom-project__phone {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.custom-project__phone {
  font-weight: 650;
  color: #15803d;
  margin-top: 0.2rem;
}

.custom-project__msg h4 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.custom-project__preview {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fafafa;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--slate-700);
  overflow: auto;
}

.custom-project__cta {
  width: fit-content;
}

.footer__wa {
  color: #15803d;
  font-weight: 650;
}

.footer__wa:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .dash-scene {
    max-width: 560px;
    margin-inline: auto;
  }

  .problem-grid,
  .modules-grid,
  .security-grid,
  .roadmap-grid,
  .project-parts {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-card--wide,
  .roadmap-card--wide,
  .project-part--wide {
    grid-column: span 2;
  }

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

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 840px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__links {
    position: fixed;
    inset: var(--header-h) 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.85rem;
    margin: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 0.75rem 0.85rem;
  }

  .workflow__arrow {
    display: none;
  }

  .arch-domains {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .problem-grid,
  .modules-grid,
  .security-grid,
  .roadmap-grid,
  .project-parts,
  .benefits-grid,
  .features-grid,
  .tech-grid,
  .roles-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .security-card--wide,
  .roadmap-card--wide,
  .project-part--wide {
    grid-column: span 1;
  }

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

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

  .dash-mod__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .chart-bars i,
  .badge__dot,
  .btn,
  .module-card,
  .problem-card,
  .feature-card,
  .tech-card,
  .dash-scene,
  .dash-preview,
  .dash-view,
  .workflow-screen {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   HabitHub theme overrides â€” white + lime green
   ========================================================= */

.bg-grid,
.bg-glow { display: none !important; }

body { background: #fff; }

.site-header {
  height: 64px;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(24, 24, 27, 0.08);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
}

.nav__links a {
  border-radius: 999px;
  font-size: 0.88rem;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: #15803d !important;
  background: #f0fdf4 !important;
}

.btn {
  border-radius: 999px !important;
}

.btn--primary {
  background: #25d366 !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28) !important;
}

.btn--primary:hover {
  background: #16a34a !important;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.34) !important;
}

.btn--ghost:hover {
  border-color: rgba(37, 211, 102, 0.45) !important;
  color: #15803d !important;
}

.section { background: #fff; }
.section--alt { background: #fafafa !important; }

.eyebrow { color: #16a34a !important; }

.glass {
  background: #fff !important;
  border: 1px solid rgba(24, 24, 27, 0.1) !important;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04) !important;
  backdrop-filter: none !important;
}

/* Full-bleed hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  padding: calc(64px + 2rem) 1rem 4.5rem !important;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: #e8e8e8;
  background-image:
    linear-gradient(120deg, rgba(37,211,102,.06), transparent 45%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: none;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,27,.32) 0%, rgba(24,24,27,.38) 40%, rgba(24,24,27,.55) 100%);
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(3.4rem, 10vw, 5.6rem) !important;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff !important;
  max-width: none !important;
  margin-bottom: 0.2rem !important;
  text-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.hero__fullform {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero__by {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__name {
  display: inline;
  margin-left: 0.2em;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  background: none;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(37, 211, 102, 0.85);
  padding-bottom: 0.05em;
}

.hero__subtitle {
  margin: 0 auto 1.6rem !important;
  max-width: 540px !important;
  font-size: clamp(1rem, 2vw, 1.12rem) !important;
  line-height: 1.65;
  color: rgba(255,255,255,.86) !important;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0 !important;
}

.btn--ghost-light {
  background: transparent !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #fff !important;
}

.btn--ghost-light:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: #fff !important;
}

.dash-band {
  padding: 0 0 1.5rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
  background: transparent;
}

.dash-band .container {
  max-width: 640px;
}

.dash-band .hero__visual {
  max-width: 640px;
  margin: 0 auto;
}

.dash-scene {
  perspective: 1400px;
}

.dash-preview {
  background: #fff !important;
  border: 1px solid rgba(24,24,27,.1) !important;
  box-shadow: 0 18px 40px rgba(24,24,27,.1) !important;
}

.dash-preview:focus-visible {
  box-shadow: 0 0 0 3px rgba(37,211,102,.35), 0 18px 40px rgba(24,24,27,.1) !important;
}

.dash-preview__hint,
.dash-cover__eyebrow,
.dash-cover__pills span,
.dash-mod__tag,
.flow-chip,
.workflow__hint,
.workflow__step.is-active .workflow__hint {
  color: #15803d !important;
  background: #f0fdf4 !important;
}

.dash-mod--crm .dash-mod__tag {
  color: #15803d !important;
  background: rgba(15,118,110,.1) !important;
}

.dash-mod--ops .dash-mod__tag {
  color: #166534 !important;
  background: #dcfce7 !important;
}

.dash-mod--sales .dash-mod__tag {
  color: #15803d !important;
  background: #ecfdf5 !important;
}

.workflow__badge,
.flow-btn,
.flow-ops__tabs span.is-on {
  background: #25d366 !important;
  box-shadow: 0 8px 16px rgba(37,211,102,.28) !important;
}

.workflow__step.is-active {
  border-color: rgba(37,211,102,.45) !important;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%) !important;
}

.workflow-stage {
  background: #fff !important;
  border-color: rgba(24,24,27,.1) !important;
}

.icon-wrap,
.module-card__icon,
.tech-card__icon,
.feature-card .icon-wrap {
  background: #f0fdf4 !important;
  color: #16a34a !important;
}

.cta-panel {
  background: linear-gradient(135deg, #16a34a, #25d366) !important;
}

.to-top {
  color: #16a34a;
  border-color: rgba(24,24,27,.1);
}

.to-top:hover {
  color: #15803d;
}

.flow-login__brand {
  background: linear-gradient(135deg, #25d366, #16a34a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 1024px) {
  .hero__inner { display: block; }
  .dash-band { margin-top: -1.5rem; }
}

@media (max-width: 640px) {
  .hero { min-height: 72vh; padding-bottom: 3.5rem !important; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 3.6rem) !important; }
  .hero__actions .btn { width: auto; min-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none !important; }
}

/* =========================================================
   Daily Inventory — Module & Pipeline Styling
   ========================================================= */
.module-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.65rem 1.6rem 1.55rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: var(--shadow);
}

.module-card__header-wide {
  display: flex;
  flex-direction: column;
}

.module-card__header-wide h3 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--slate-900);
}

.module-card__header-wide > p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.module-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.module-card__pills span {
  font-size: 0.74rem;
  font-weight: 700;
  color: #15803d;
  background: #ffffff;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.module-card__body-wide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  padding: 1.1rem 1.2rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.feature-list--cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 0.85rem;
}

.feature-list--cols li {
  font-size: 0.86rem;
  line-height: 1.4;
}

.feature-list--cols code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.module-card__footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px dashed rgba(37, 211, 102, 0.22);
  padding-top: 0.65rem;
  margin-top: 0.65rem;
}

.module-card__footer .module-card__hint {
  margin-top: 0;
}

@media (max-width: 860px) {
  .module-card--wide {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  
  .feature-list--cols {
    grid-template-columns: 1fr;
  }

  .module-card__footer {
    justify-content: flex-start;
  }
}

.dash-mod--jobber .dash-mod__tag {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

.jobber-pipeline {
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: var(--shadow);
}

.jobber-pipeline__head {
  margin-bottom: 1.25rem;
}

.jobber-pipeline__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15803d;
  background: #dcfce7;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.jobber-pipeline__head h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
}

.jobber-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jobber-node {
  flex: 1;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.jobber-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 211, 102, 0.4);
}

.jobber-node__num {
  position: absolute;
  top: -10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.jobber-node__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #16a34a;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
}

.jobber-node__icon svg {
  width: 20px;
  height: 20px;
}

.jobber-node strong {
  display: block;
  font-size: 0.92rem;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.jobber-node p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.jobber-node code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.jobber-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  color: #25d366;
  flex-shrink: 0;
}

.project-part__sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.struct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.struct-card {
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}

.struct-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.35);
}

.struct-card code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.struct-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-600);
  line-height: 1.35;
}

.short-summary-box {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.7), rgba(220, 252, 231, 0.5));
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
}

.short-summary-box p {
  font-size: 0.95rem;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
}

.tech-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.tech-pills-list span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #15803d;
  background: #ffffff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.short-summary-box__foot {
  font-size: 0.9rem !important;
  color: var(--slate-700) !important;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .jobber-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .jobber-arrow {
    text-align: center;
    transform: rotate(90deg);
    margin: -0.25rem 0;
  }

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

@media (max-width: 600px) {
  .struct-grid {
    grid-template-columns: 1fr;
  }
}

