/* ============================================================
   EnquiryLabs — Main Stylesheet
   ============================================================ */

/* 1. Custom Properties
   ============================================================ */
:root {
  /* ── CRM-matched palette ── */

  /* Dark UI — #004050 base (exact CRM dark colour) */
  --navy-950: #001e2d;
  --navy-900: #004050;
  --navy-800: #004d5e;
  --navy-700: #005568;
  --navy-600: #006075;
  --navy-500: #006e86;

  /* Blues (CRM interactive/link blue) */
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;

  /* Teal */
  --teal-600: #0891b2;
  --teal-500: #06b6d4;
  --teal-400: #22d3ee;

  /* Green (CRM "Available" status) */
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;

  /* Amber (CRM "An hour ago" / warning) */
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;

  --red-500: #ef4444;

  /* CRM light UI greys */
  --crm-bg:       #f5f7fa;   /* CRM content-area background */
  --crm-bg-alt:   #eef1f7;   /* slightly deeper alt sections */
  --crm-white:    #ffffff;
  --crm-border:   #e5e7eb;   /* CRM card/panel border */
  --crm-border-md: #d1d5db;
  --crm-text:     #1a1f36;   /* CRM primary text (dark navy) */
  --crm-text-sec: #6b7280;   /* CRM secondary text */
  --crm-text-muted: #9ca3af; /* CRM muted text */

  /* Semantic tokens */
  --bg-primary:     var(--navy-900);
  --bg-secondary:   var(--navy-800);
  --bg-card:        var(--navy-700);
  --bg-card-raised: var(--navy-600);
  --bg-light:       var(--crm-bg);
  --bg-light-alt:   var(--crm-white);

  /* Brand */
  --brand:        #fc4c69;
  --brand-hover:  #fd6882;
  --brand-dark:   #e03555;
  --brand-grey:   #65605f;

  --border:       rgba(148, 163, 184, 0.10);
  --border-strong: rgba(148, 163, 184, 0.20);
  --border-accent: rgba(252, 76, 105, 0.35);

  --accent:       var(--brand);
  --accent-hover: var(--brand-hover);
  --accent-subtle: rgba(252, 76, 105, 0.10);
  --accent-glow:  rgba(252, 76, 105, 0.22);

  --text-on-dark:       #f1f5f9;
  --text-on-dark-sec:   #94a3b8;
  --text-on-dark-muted: #64748b;
  --text-on-light:      var(--crm-text);       /* #1a1f36 — exact CRM primary */
  --text-on-light-sec:  var(--crm-text-sec);   /* #6b7280 — exact CRM secondary */
  --text-on-light-muted: var(--crm-text-muted);/* #9ca3af */

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-y: 5.5rem;
  --container: 1200px;
  --container-narrow: 800px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 220ms;
}


/* 2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}


/* 3. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav .container {
  max-width: 1360px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-y) 0;
}

.section--dark {
  background: var(--bg-primary);
}

.section--darker {
  background: var(--navy-950);
}

.section--navy {
  background: var(--navy-800);
}

.section--light {
  background: var(--crm-bg);
  color: var(--crm-text);
}

.section--light-alt {
  background: var(--crm-white);
  color: var(--crm-text);
}

.grid { display: grid; }
.flex { display: flex; }

.gap-sm  { gap: 1rem; }
.gap-md  { gap: 1.5rem; }
.gap-lg  { gap: 2rem; }
.gap-xl  { gap: 3rem; }

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.text-center { text-align: center; }


/* 4. Typography Scale
   ============================================================ */
.display-xl {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.display-md {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.heading-lg {
  font-size: clamp(1.3rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.heading-sm {
  font-size: 1rem;
  font-weight: 600;
}

.body-lg   { font-size: 1.125rem; line-height: 1.7; }
.body-md   { font-size: 1rem;     line-height: 1.7; }
.body-sm   { font-size: 0.875rem; line-height: 1.6; }
.body-xs   { font-size: 0.8rem;   line-height: 1.5; }

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Text colours */
.text-primary { color: var(--text-on-dark); }
.text-secondary { color: var(--text-on-dark-sec); }
.text-muted { color: var(--text-on-dark-muted); }
.text-accent { color: var(--blue-400); }
.text-teal { color: var(--teal-400); }
.text-green { color: var(--green-400); }

.section--light .text-secondary,
.section--light-alt .text-secondary { color: var(--text-on-light-sec); }

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, #fd9bb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* 5. Section Headers
   ============================================================ */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section--light .eyebrow,
.section--light-alt .eyebrow { color: var(--brand); }
.section--light .eyebrow::before,
.section--light-alt .eyebrow::before { background: var(--brand); }

.section-lead {
  font-size: 1.1rem;
  color: var(--text-on-dark-sec);
  margin-top: 1rem;
  max-width: 600px;
}

.section--light .section-lead,
.section--light-alt .section-lead { color: var(--text-on-light-sec); }

.section-header--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}


/* 6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 1px 0 rgba(255,255,255,0.12) inset;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--blue-400);
  border: 1.5px solid var(--border-accent);
}

.btn--outline:hover {
  background: var(--accent-subtle);
  border-color: var(--blue-500);
}

.btn--light {
  background: #fff;
  color: var(--slate-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
}

.btn--light:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* On light backgrounds */
.section--light .btn--secondary,
.section--light-alt .btn--secondary {
  background: var(--crm-white);
  color: var(--crm-text);
  border-color: var(--crm-border-md);
}

.section--light .btn--secondary:hover,
.section--light-alt .btn--secondary:hover {
  background: var(--crm-bg);
  border-color: var(--crm-text-sec);
}


/* 7. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: #e5e7eb;
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  height: 45px;
  width: auto;
  filter: none;
  transform: translateY(-2px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1.5rem;
  flex: 1;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  border-radius: var(--r-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: #111827;
  background: rgba(0,0,0,0.04);
}

.nav__link.active { color: var(--brand); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__cta-secondary {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--duration) var(--ease);
}

.nav__cta-secondary:hover {
  color: #111827;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #4b5563;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(8, 16, 30, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark-sec);
  border-radius: var(--r-md);
  transition: all var(--duration);
}

.nav__mobile-link:hover {
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.06);
}

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}


/* 8. Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #052d39 0%, #022634 52%, #011d28 100%);
}

.hero .container {
  max-width: 1360px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero__abstract-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__orb--1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0,90,110,0.6) 0%, transparent 65%);
  top: -320px;
  right: -80px;
  filter: blur(70px);
  animation: hero-teal-drift 20s ease-in-out infinite;
}

.hero__orb--brand-flow {
  width: 720px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(252,76,105,0.42) 0%, transparent 60%);
  top: 80px;
  right: 40px;
  filter: blur(65px);
  animation: hero-brand-sweep 11s ease-in-out infinite;
}

.hero__orb--brand-2 {
  width: 380px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(252,76,105,0.3) 0%, transparent 60%);
  top: 220px;
  right: 200px;
  filter: blur(55px);
  animation: hero-brand-sweep 11s ease-in-out infinite 3.5s;
}

.hero__orb--3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, transparent 65%);
  bottom: -160px;
  left: -60px;
  filter: blur(90px);
  animation: hero-teal-drift 15s ease-in-out infinite 5s;
}

@keyframes hero-teal-drift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  40% { transform: scale(1.08) translate(20px, -15px); }
  70% { transform: scale(0.94) translate(-10px, 18px); }
}

@keyframes hero-brand-sweep {
  0% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  20% { transform: translate(-160px, 40px) scale(1.18); opacity: 1; }
  45% { transform: translate(-340px, -20px) scale(0.88); opacity: 0.7; }
  65% { transform: translate(-200px, -80px) scale(1.12); opacity: 0.95; }
  80% { transform: translate(-60px, 30px) scale(1.05); opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
}

.hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148,163,184,0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 85% at 60% 45%, black 30%, transparent 80%);
}

.hero__geo-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
}

@keyframes hero-flow-dash {
  to { stroke-dashoffset: -200; }
}

.hero-flow {
  animation: hero-flow-dash linear infinite;
}

.hero-flow--a { animation-duration: 3.8s; }
.hero-flow--b { animation-duration: 5.2s; animation-delay: -1.8s; }
.hero-flow--c { animation-duration: 6.8s; animation-delay: -3.4s; }
.hero-flow--d { animation-duration: 4.6s; animation-delay: -2.2s; }

@keyframes hero-ring-expand {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}

.hero-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-ring-expand ease-out infinite;
}

.hero-ring--a1 { animation-duration: 2.8s; }
.hero-ring--a2 { animation-duration: 2.8s; animation-delay: 1.4s; }
.hero-ring--b1 { animation-duration: 3.2s; animation-delay: 0.6s; }
.hero-ring--b2 { animation-duration: 3.2s; animation-delay: 2.2s; }
.hero-ring--c1 { animation-duration: 3.6s; animation-delay: 0.3s; }
.hero-ring--c2 { animation-duration: 3.6s; animation-delay: 2.1s; }

.hero__grid-pattern {
  display: none;
}

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__content {
  max-width: 58rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(3rem, 5.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: var(--text-on-dark);
  margin-bottom: 1.35rem;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: #ffd6de;
  text-shadow: 0 0 24px rgba(252, 76, 105, 0.2);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #bfd3df;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 56rem;
}

.hero__highlight {
  padding: 1rem 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(191, 211, 223, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__highlight strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.2;
  color: #f7fbfd;
  margin-bottom: 0.35rem;
}

.hero__highlight span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #9db5c3;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 40rem;
  margin: 0 auto;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #88a5b4;
}

.hero__visual {
  position: relative;
  display: grid;
  align-items: start;
  padding: 0.5rem 0 0;
  overflow: visible;
}

.hero__product-frame {
  position: relative;
  margin: 0;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(4, 26, 35, 0.88);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(34, 211, 238, 0.08);
  z-index: 1;
}

.hero__product-shot {
  position: relative;
  height: clamp(32rem, 56vh, 37rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%);
}

.hero__product-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 24, 0) 0%, rgba(3, 17, 24, 0.16) 100%);
  pointer-events: none;
}

.hero__product-image {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  object-position: top left;
}

.hero-carousel__viewport,
.hero-carousel__controls {
  position: relative;
  z-index: 1;
}

.hero-carousel__viewport {
  flex: 1;
  padding: 1.1rem;
}

.hero-slide {
  display: none;
  gap: 1rem;
  height: 100%;
  min-height: 100%;
  grid-template-rows: auto 1fr;
}

.hero-slide.is-active {
  display: grid;
  animation: hero-slide-fade 0.35s var(--ease);
}

@keyframes hero-slide-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-slide__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.hero-slide__title {
  max-width: 38rem;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}

.hero-slide__status {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.06);
}

.hero-slide__status--green {
  background: rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.34);
  color: #9af0c7;
}

.hero-slide__status--blue {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.34);
  color: #a9c4ff;
}

.hero-slide__status--teal {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.34);
  color: #97f1e7;
}

.hero-slide__layout {
  min-height: 0;
  height: 100%;
}

.hero-slide__layout--call-centre {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.35fr);
  gap: 1rem;
}

.call-centre-dock,
.hero-enquiry-shell,
.hero-ui-card,
.hero-chat-window,
.hero-kpi {
  border: 1px solid rgba(191, 211, 223, 0.14);
  background: rgba(9, 24, 39, 0.78);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.call-centre-dock,
.hero-enquiry-shell,
.hero-chat-window {
  height: 100%;
}

.call-centre-dock {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(6, 42, 56, 0.98) 0%, rgba(7, 35, 46, 0.94) 100%);
}

.call-centre-header,
.call-centre-row,
.hero-enquiry-shell__header,
.hero-task-card,
.hero-pipeline-stage,
.hero-chat-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.call-centre-header__label,
.call-centre-section__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8cb2c3;
}

.call-centre-header strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-on-dark);
  font-size: 1rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-on-dark-sec);
  background: rgba(255,255,255,0.04);
}

.hero-chip--green {
  color: #9af0c7;
  background: rgba(5, 150, 105, 0.16);
  border-color: rgba(5, 150, 105, 0.34);
}

.hero-chip--amber {
  color: #f8ce7c;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.32);
}

.hero-chip--blue {
  color: #a9c4ff;
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.32);
}

.call-centre-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.call-centre-row {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(191, 211, 223, 0.12);
  background: rgba(255,255,255,0.03);
}

.call-centre-row--live {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.24);
}

.call-centre-row strong,
.hero-enquiry-shell__header strong,
.hero-ui-card__title,
.hero-chat-window__header strong,
.hero-kpi strong,
.hero-suggestion-list strong,
.hero-pipeline-stage strong,
.hero-task-card strong,
.hero-timeline strong {
  color: var(--text-on-dark);
}

.call-centre-row strong,
.call-centre-row span {
  display: block;
}

.call-centre-row strong {
  font-size: 0.86rem;
}

.call-centre-row span,
.call-centre-row__meta {
  font-size: 0.73rem;
  line-height: 1.4;
  color: #8cb2c3;
}

.call-centre-row__meta {
  text-align: right;
}

.call-centre-linkout {
  color: var(--blue-400);
  font-weight: 700;
}

.hero-enquiry-shell {
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
}

.hero-enquiry-shell__header strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 1rem;
}

.hero-enquiry-shell__header span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}

.hero-enquiry-shell__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.hero-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-enquiry-grid > :last-child {
  grid-column: 1 / -1;
}

.hero-ui-card {
  padding: 1rem;
}

.hero-ui-card__title {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-data-grid,
.hero-finance-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.hero-data-grid span,
.hero-finance-figures span,
.hero-kpi span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.hero-data-grid strong,
.hero-finance-figures strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-mini-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-mini-thread__msg {
  max-width: 92%;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  font-size: 0.77rem;
  line-height: 1.5;
}

.hero-mini-thread__msg--in {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark-sec);
}

.hero-mini-thread__msg--out {
  align-self: flex-end;
  background: rgba(37, 99, 235, 0.18);
  color: #dce8ff;
}

.hero-stage-list {
  display: grid;
  gap: 0.6rem;
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(191, 211, 223, 0.12);
  background: rgba(255,255,255,0.03);
}

.hero-stage span,
.hero-stage strong {
  display: block;
}

.hero-stage span {
  font-size: 0.74rem;
  color: var(--text-on-dark-muted);
}

.hero-stage strong {
  font-size: 0.78rem;
}

.hero-stage--done {
  border-color: rgba(5,150,105,0.22);
  background: rgba(5,150,105,0.08);
}

.hero-stage--active {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.1);
}

.hero-slide__layout--credit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 1rem;
}

.hero-credit-summary,
.hero-credit-panel,
.hero-credit-insights,
.hero-chat-side,
.hero-workflow-tasks {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.hero-ui-card--highlight {
  background: radial-gradient(circle at top right, rgba(5,150,105,0.15), transparent 48%), rgba(9, 24, 39, 0.86);
}

.credit-gauge {
  display: grid;
  gap: 0.9rem;
}

.credit-gauge__dial {
  width: 13rem;
  height: 13rem;
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: 50%;
  background: conic-gradient(from 220deg, #f97316 0 18%, #f59e0b 18% 36%, #eab308 36% 54%, #84cc16 54% 74%, #22c55e 74% 100%);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.03), 0 20px 40px rgba(0,0,0,0.22);
}

.credit-gauge__center {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: #071826;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.credit-gauge__center strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.credit-gauge__center span {
  margin-top: -0.4rem;
  font-size: 0.74rem;
  color: var(--text-on-dark-muted);
}

.credit-gauge__scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.credit-gauge__scale span {
  padding-top: 0.65rem;
  border-top: 6px solid rgba(255,255,255,0.08);
  font-size: 0.68rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}

.credit-gauge__scale .is-active {
  border-top-color: #22c55e;
  color: #b8f6d1;
  font-weight: 700;
}

.hero-kpi {
  padding: 1rem;
}

.hero-kpi strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.hero-kpi p,
.hero-chat-handoff p,
.workflow-builder__header span,
.workflow-node span:last-child,
.workflow-mobile-node p,
.hero-suggestion-list span {
  color: var(--text-on-dark-sec);
}

.hero-kpi p {
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-kpi--green {
  background: linear-gradient(180deg, rgba(5,150,105,0.14), rgba(9,24,39,0.9));
  border-color: rgba(5,150,105,0.26);
}

.hero-credit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-slide__layout--workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
}

.hero-workflow-pipeline {
  display: grid;
  gap: 0.75rem;
}

.hero-pipeline-stage {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 211, 223, 0.14);
  background: rgba(9, 24, 39, 0.78);
}

.hero-pipeline-stage > div span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.74rem;
  color: var(--text-on-dark-muted);
}

.hero-pipeline-badge {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.hero-pipeline-badge--done {
  background: rgba(5,150,105,0.16);
  color: #9af0c7;
}

.hero-pipeline-badge--active {
  background: rgba(37,99,235,0.16);
  color: #a9c4ff;
}

.hero-task-card {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(191, 211, 223, 0.14);
  background: rgba(255,255,255,0.03);
}

.hero-task-card span,
.hero-task-card em {
  display: block;
  font-size: 0.73rem;
  color: var(--text-on-dark-muted);
}

.hero-task-card em {
  font-style: normal;
  text-align: right;
}

.hero-task-card--pending {
  border-color: rgba(245,158,11,0.26);
  background: rgba(245,158,11,0.08);
}

.hero-task-card--done {
  border-color: rgba(5,150,105,0.24);
  background: rgba(5,150,105,0.08);
}

.hero-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.hero-button {
  border: 1px solid rgba(191, 211, 223, 0.18);
  background: rgba(255,255,255,0.03);
  color: var(--text-on-dark);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-button--success {
  background: rgba(5,150,105,0.16);
  border-color: rgba(5,150,105,0.28);
  color: #aaf4d0;
}

.hero-button--danger {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.26);
  color: #ffb3b3;
}

.hero-timeline {
  display: grid;
  gap: 0.7rem;
}

.hero-timeline div {
  padding-left: 0.95rem;
  border-left: 2px solid rgba(96, 165, 250, 0.26);
}

.hero-timeline strong,
.hero-timeline span {
  display: block;
}

.hero-timeline strong {
  margin-bottom: 0.2rem;
  font-size: 0.76rem;
}

.hero-timeline span {
  font-size: 0.73rem;
  color: var(--text-on-dark-muted);
}

.hero-slide__layout--chat {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 1rem;
}

.hero-chat-window {
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
}

.hero-chat-window__header {
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(191, 211, 223, 0.12);
}

.hero-chat-window__header span {
  font-size: 0.74rem;
  color: var(--text-on-dark-muted);
}

.hero-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-chat-msg {
  max-width: 90%;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
}

.hero-chat-msg strong,
.hero-chat-msg p {
  display: block;
}

.hero-chat-msg strong {
  margin-bottom: 0.28rem;
  font-size: 0.74rem;
}

.hero-chat-msg p {
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-chat-msg--bot,
.hero-chat-msg--advisor {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
}

.hero-chat-msg--customer {
  align-self: flex-end;
  background: rgba(37,99,235,0.15);
}

.hero-chat-handoff {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(5,150,105,0.26);
  background: rgba(5,150,105,0.08);
}

.hero-chat-handoff p {
  margin-top: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.55;
}

.hero-suggestion-list {
  display: grid;
  gap: 0.65rem;
}

.hero-suggestion-list div {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(191, 211, 223, 0.12);
}

.hero-suggestion-list strong,
.hero-suggestion-list span {
  display: block;
}

.hero-suggestion-list strong {
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}

.hero-suggestion-list span {
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

.hero-slide__layout--reporting,
.hero-slide__layout--whatsapp,
.hero-slide__layout--credit,
.hero-slide__layout--workflow {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.hero-slide__layout--reporting {
  grid-template-columns: 1fr;
}

.reporting-shell,
.reporting-chart-card,
.reporting-stat-card,
.whatsapp-shell,
.experian-card,
.workflow-stage-panel__step,
.workflow-stage-detail,
.workflow-checklist__item {
  border: 1px solid rgba(191, 211, 223, 0.14);
  background: rgba(9, 24, 39, 0.78);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.reporting-shell {
  padding: 0.2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
}

.reporting-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.reporting-stat-card {
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(10, 36, 49, 0.96), rgba(8, 24, 35, 0.94));
}

.reporting-stat-card span,
.reporting-chart-card__header span,
.reporting-chart__x-axis span,
.reporting-chart__y-axis span,
.whatsapp-shell__header span,
.whatsapp-message__author,
.experian-gauge__center span,
.workflow-stage-detail__current span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.reporting-stat-card strong {
  display: block;
  margin: 0.35rem 0 0.3rem;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
}

.reporting-stat-card em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9af0c7;
}

.reporting-chart-card {
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
}

.reporting-chart-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.reporting-chart-card__header strong,
.whatsapp-shell__header strong,
.workflow-stage-detail__current strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-on-dark);
  font-size: 1rem;
}

.reporting-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.reporting-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.72rem;
  color: var(--text-on-dark-sec);
}

.reporting-legend__swatch {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
}

.reporting-legend__swatch--blue { background: #60a5fa; }
.reporting-legend__swatch--green { background: #34d399; }
.reporting-legend__swatch--amber { background: #f59e0b; }

.reporting-chart {
  min-height: 0;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
}

.reporting-chart__y-axis {
  display: grid;
  grid-template-rows: auto repeat(4, 1fr);
  align-items: center;
  justify-items: start;
  padding: 0.15rem 0 1.8rem;
}

.reporting-chart__y-axis strong,
.reporting-chart__x-axis strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-on-dark-sec);
}

.reporting-chart__plot {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.reporting-chart__plot svg {
  width: 100%;
  height: 100%;
  min-height: 14rem;
}

.reporting-chart__axis,
.reporting-chart__grid {
  stroke-linecap: round;
}

.reporting-chart__axis {
  stroke: rgba(191, 211, 223, 0.24);
  stroke-width: 1.5;
}

.reporting-chart__grid {
  stroke: rgba(191, 211, 223, 0.12);
  stroke-width: 1;
}

.reporting-chart__line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reporting-chart__line--blue { stroke: #60a5fa; }
.reporting-chart__line--green { stroke: #34d399; }
.reporting-chart__line--amber { stroke: #f59e0b; }

.reporting-chart__points circle {
  stroke-width: 4;
  fill: #091827;
}

.reporting-chart__points--blue circle { stroke: #60a5fa; }
.reporting-chart__points--green circle { stroke: #34d399; }
.reporting-chart__points--amber circle { stroke: #f59e0b; }

.reporting-chart__x-axis {
  display: grid;
  grid-template-columns: auto repeat(5, 1fr);
  align-items: center;
  gap: 0.45rem;
}

.reporting-chart__x-axis span {
  grid-column: 1 / 2;
}

.reporting-chart__x-axis strong {
  justify-self: center;
}

.hero-slide__layout--whatsapp {
  grid-template-columns: 1fr;
}

.whatsapp-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(7, 33, 43, 0.92), rgba(7, 24, 33, 0.94)),
    #071826;
}

.whatsapp-shell__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(191, 211, 223, 0.12);
}

.whatsapp-thread {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.2rem;
}

.whatsapp-message {
  max-width: 80%;
  padding: 0.8rem 0.9rem;
  border-radius: 20px;
}

.whatsapp-message p,
.workflow-stage-detail__current p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-on-dark-sec);
}

.whatsapp-message--customer {
  align-self: flex-end;
  background: #0d8f77;
  color: #f6fffd;
  border-bottom-right-radius: 6px;
}

.whatsapp-message--customer .whatsapp-message__author,
.whatsapp-message--customer p {
  color: #f6fffd;
}

.whatsapp-message--bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  border-bottom-left-radius: 6px;
}

.whatsapp-message--advisor {
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-bottom-left-radius: 6px;
}

.whatsapp-handoff {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  background: rgba(37, 99, 235, 0.1);
}

.whatsapp-handoff p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-on-dark-sec);
}

.experian-card {
  padding: 1rem;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.09), transparent 52%),
    rgba(9, 24, 39, 0.84);
}

.experian-card__brand {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #cfe0ff;
}

.experian-gauge {
  position: relative;
  width: min(100%, 20rem);
  aspect-ratio: 1 / 0.8;
  display: grid;
  place-items: end center;
}

.experian-gauge__arc {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  background:
    conic-gradient(from 180deg,
      #d32f2f 0deg 38deg,
      #f59e34 38deg 78deg,
      #facc15 78deg 114deg,
      #8dc63f 114deg 152deg,
      #16a34a 152deg 180deg);
  -webkit-mask:
    radial-gradient(circle at 50% 100%, transparent 0 45%, #000 46%);
  mask:
    radial-gradient(circle at 50% 100%, transparent 0 45%, #000 46%);
}

.experian-gauge__center {
  position: relative;
  z-index: 1;
  padding-bottom: 0.3rem;
  text-align: center;
}

.experian-gauge__center strong {
  display: block;
  font-size: clamp(4rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  color: #ffffff;
}

.experian-gauge__center em {
  display: inline-block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 1rem;
  font-weight: 700;
  color: #b8f6d1;
}

.experian-gauge__labels {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.experian-gauge__labels span {
  font-size: 0.68rem;
  text-align: center;
  color: var(--text-on-dark-muted);
}

.experian-gauge__labels .is-active {
  color: #b8f6d1;
  font-weight: 700;
}

.hero-slide__layout--workflow {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.workflow-stage-panel,
.workflow-checklist {
  display: grid;
  gap: 0.75rem;
}

.workflow-stage-panel__step,
.workflow-checklist__item {
  padding: 0.95rem 1rem;
}

.workflow-stage-panel__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-stage-panel__step strong,
.workflow-checklist__item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-on-dark);
  font-size: 0.9rem;
}

.workflow-stage-panel__step span,
.workflow-stage-panel__step em,
.workflow-checklist__item span {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}

.workflow-stage-panel__step em {
  font-style: normal;
  font-weight: 700;
}

.workflow-stage-panel__step--won {
  background: linear-gradient(180deg, rgba(5,150,105,0.14), rgba(9,24,39,0.88));
  border-color: rgba(5,150,105,0.28);
}

.workflow-stage-panel__step--won em {
  color: #9af0c7;
}

.workflow-stage-panel__step--active {
  background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(9,24,39,0.88));
  border-color: rgba(37,99,235,0.3);
}

.workflow-stage-panel__step--active em {
  color: #a9c4ff;
}

.workflow-stage-detail {
  height: 100%;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.workflow-stage-detail__current {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(191, 211, 223, 0.12);
}

.workflow-stage-detail__current p {
  margin-top: 0.45rem;
}

.workflow-checklist__item {
  border-radius: 18px;
}

.workflow-checklist__item--done {
  border-color: rgba(5,150,105,0.24);
  background: rgba(5,150,105,0.08);
}

.workflow-checklist__item--active {
  border-color: rgba(37,99,235,0.28);
  background: rgba(37,99,235,0.12);
}

.hero-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem 1.05rem;
  border-top: 1px solid rgba(191, 211, 223, 0.12);
  background: rgba(4, 20, 31, 0.7);
}

.hero-carousel__control {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(191, 211, 223, 0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text-on-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-carousel__control svg {
  width: 1rem;
  height: 1rem;
}

.hero-carousel__indicators {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-carousel__dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  cursor: pointer;
}

.hero-carousel__dot.is-active {
  width: 1.75rem;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
}

.mobile-crop-stack {
  display: none;
}

.mobile-crop-card {
  border-radius: calc(var(--r-xl) - 2px);
  overflow: hidden;
}

.mobile-crop-card--plain {
  background: rgba(4, 26, 35, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 22px 56px rgba(0,0,0,0.42),
    0 0 40px rgba(34, 211, 238, 0.08);
}

.mobile-crop-card__toolbar {
  padding: 0.625rem 0.75rem;
  gap: 0.625rem;
}

.mobile-crop-card__viewport {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%);
}

.mobile-crop-card__viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 24, 0.03) 0%, rgba(3, 17, 24, 0.18) 100%);
  pointer-events: none;
}

.mobile-crop-card__image {
  position: absolute;
  max-width: none;
  height: auto;
  display: block;
}

.mobile-crop-card__viewport--crm-main {
  height: 220px;
}

.mobile-crop-card__image--crm-main {
  width: 235%;
}

.mobile-crop-card__viewport--workflow-graph {
  height: 212px;
}

.mobile-crop-card__image--workflow-graph {
  width: 208%;
  left: -32%;
  top: 0;
}

.mobile-crop-card__viewport--workflow-config {
  height: 206px;
}

.mobile-crop-card__image--workflow-config {
  width: 250%;
  left: -142%;
  top: -8px;
}


/* 9. Dashboard Mockup
   ============================================================ */
.hero__mockup-wrap {
  position: relative;
}

.browser-frame {
  background: var(--navy-800);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px var(--accent-glow);
}

.browser-frame__toolbar {
  background: var(--navy-700);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot--red   { background: #FF5F56; }
.browser-dot--amber { background: #FFBD2E; }
.browser-dot--green { background: #27C93F; }

.browser-url {
  flex: 1;
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.app-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
  max-height: 420px;
  overflow: hidden;
}

.app-sidebar {
  background: var(--navy-700);
  border-right: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sidebar-logo {
  padding: 0.25rem 1rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-400);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 1rem;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  border-radius: 0;
  transition: all 0.15s;
}

.sidebar-item.active {
  background: var(--accent-subtle);
  color: var(--blue-400);
  border-left: 2px solid var(--accent);
}

.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.app-main {
  background: var(--navy-800);
  padding: 1rem;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.app-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.app-header-actions {
  display: flex;
  gap: 0.5rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.app-badge--blue  { background: rgba(37,99,235,0.15); color: var(--blue-400); }
.app-badge--green { background: rgba(5,150,105,0.15); color: var(--green-400); }
.app-badge--amber { background: rgba(245,158,11,0.15); color: var(--amber-400); }
.app-badge--teal  { background: rgba(6,182,212,0.15); color: var(--teal-400); }
.app-badge--slate { background: rgba(100,116,139,0.15); color: var(--slate-400); }
.app-badge--red   { background: rgba(239,68,68,0.15); color: #FCA5A5; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.stat-card {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.625rem 0.75rem;
}

.stat-label {
  font-size: 0.625rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
}

.stat-change {
  font-size: 0.625rem;
  color: var(--green-400);
  margin-top: 0.25rem;
}

/* Pipeline columns */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.pipeline-col {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  min-height: 200px;
}

.pipeline-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--border);
}

.pipeline-col-title {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
}

.pipeline-count {
  font-size: 0.625rem;
  background: var(--navy-600);
  color: var(--text-on-dark-muted);
  padding: 0.125rem 0.375rem;
  border-radius: 100px;
}

.pipeline-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  margin-bottom: 0.375rem;
}

.pipeline-card-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pipeline-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.pipeline-card-lender {
  font-size: 0.5625rem;
  color: var(--text-on-dark-muted);
}

.pipeline-card-amount {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--blue-400);
}


/* 10. Trust Strip
   ============================================================ */
.trust-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy-800);
}

.trust-strip__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.trust-strip__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.trust-stat-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-stat {
  padding: 1.25rem 2.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-stat:last-child { border-right: none; }

.trust-stat__number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-stat__number span { color: var(--blue-400); }

.trust-stat__label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}


/* 11. Feature Cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #fd9bb0);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px var(--border-accent);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  flex-shrink: 0;
}

.feature-icon--blue  { background: rgba(37,99,235,0.12); color: var(--blue-400); }
.feature-icon--teal  { background: rgba(6,182,212,0.12); color: var(--teal-400); }
.feature-icon--green { background: rgba(5,150,105,0.12); color: var(--green-400); }
.feature-icon--amber { background: rgba(245,158,11,0.12); color: var(--amber-400); }
.feature-icon--purple { background: rgba(139,92,246,0.12); color: #A78BFA; }
.feature-icon--red   { background: rgba(239,68,68,0.12); color: #FCA5A5; }
.feature-icon--brand { background: rgba(252,76,105,0.12); color: var(--brand); }

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

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-on-dark-sec);
  line-height: 1.65;
}

.feature-card .feature-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8375rem;
  color: var(--text-on-dark-sec);
}

.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* On light backgrounds — CRM card style */
.section--light .feature-card,
.section--light-alt .feature-card {
  background: var(--crm-white);
  border-color: var(--crm-border);
  color: var(--crm-text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.section--light .feature-card:hover,
.section--light-alt .feature-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(252,76,105,0.10), 0 0 0 1px rgba(252,76,105,0.2);
}

.section--light .feature-card h3,
.section--light-alt .feature-card h3 { color: var(--crm-text); }

.section--light .feature-card p,
.section--light-alt .feature-card p { color: var(--crm-text-sec); }

.section--light .feature-list li,
.section--light-alt .feature-list li { color: var(--crm-text-sec); }


/* 12. How It Works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.333% - 40px);
  right: calc(33.333% - 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--border-accent), var(--border));
  pointer-events: none;
}

.step {
  text-align: center;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.625rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-on-dark-sec);
  line-height: 1.65;
}


/* 13. Comparison Table
   ============================================================ */
.comparison-table {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  background: var(--navy-700);
  border-bottom: 1px solid var(--border);
  color: var(--text-on-dark);
}

.comparison-table th.highlight {
  background: var(--accent-subtle);
  color: var(--blue-400);
  border-bottom-color: var(--border-accent);
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-on-dark-sec);
  vertical-align: middle;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td.highlight {
  background: rgba(37,99,235,0.04);
  color: var(--text-on-dark);
  font-weight: 500;
}

.comparison-table td:first-child {
  color: var(--text-on-dark);
  font-weight: 500;
}

.check { color: var(--green-400); }
.cross { color: var(--slate-600); }
.partial { color: var(--amber-400); }


/* 14. Integration Badges
   ============================================================ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.integration-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
  transition: all var(--duration) var(--ease);
  cursor: default;
}

.integration-badge:hover {
  border-color: var(--border-accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--navy-600);
}

.integration-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.integration-type {
  font-size: 0.6875rem;
  color: var(--text-on-dark-muted);
}


/* 14b. Lender Badge Grid & Zapier Grid
   ============================================================ */
.lender-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lender-badge {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark-sec);
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
}

.lender-badge:hover {
  border-color: var(--border-accent);
  color: var(--text-on-dark);
}

.zapier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.zapier-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark);
  transition: all var(--duration) var(--ease);
}

.zapier-badge:hover {
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.zapier-badge img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}


/* 15. Security Badges
   ============================================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

.security-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-400);
}

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

.security-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.375rem;
}

.security-card p {
  font-size: 0.875rem;
  color: var(--text-on-dark-sec);
  line-height: 1.65;
}


/* 16. CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, rgba(37,99,235,0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-2xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.12) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-on-dark-sec);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}


/* 17. Forms
   ============================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.form-label span {
  color: var(--red-500);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--crm-white);
  border: 1.5px solid var(--crm-border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--crm-text);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(252,76,105,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--slate-400); }

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2394A3B8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}


/* 18. Footer
   ============================================================ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-top: 0.875rem;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  transition: color var(--duration);
}

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

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

.footer__legal {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

.footer__legal a {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  transition: color var(--duration);
}

.footer__legal a:hover { color: var(--text-on-dark); }

.footer__compliance {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-dark);
  padding: 0.3125rem 0.75rem;
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.compliance-badge svg { width: 14px; height: 14px; }


/* 19. Page-specific Styles
   ============================================================ */

/* Inner page hero */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.page-hero__gradient {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(252,76,105,0.12) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.125rem;
  max-width: 700px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-on-dark-sec);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Product feature showcase */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-showcase--reverse {
  direction: rtl;
}

.feature-showcase--reverse > * {
  direction: ltr;
}

.feature-showcase__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.feature-showcase__content p {
  font-size: 1rem;
  color: var(--text-on-dark-sec);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.feature-showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-on-dark-sec);
  line-height: 1.5;
}

.feature-showcase__list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--green-700);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.mockup-panel {
  background: var(--navy-800);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}

.mockup-panel.main-page {
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.mockup-header {
  background: var(--navy-700);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mockup-header-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.mockup-body {
  padding: 1rem;
}

/* Comms mockup */
.comms-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.comms-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.comms-tab {
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  color: var(--text-on-dark-muted);
}

.comms-tab.active {
  background: var(--accent-subtle);
  color: var(--blue-400);
}

.msg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.msg--out {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-600);
  font-size: 0.5625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  flex-shrink: 0;
}

.msg-bubble {
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-size: 0.6875rem;
  line-height: 1.5;
  max-width: 80%;
}

.msg--in .msg-bubble {
  background: var(--navy-700);
  color: var(--text-on-dark);
  border-bottom-left-radius: 4px;
}

.msg--out .msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.5rem;
  color: var(--text-on-dark-muted);
  align-self: flex-end;
  flex-shrink: 0;
}

/* Workflow/lender mockup */
.workflow-stages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.workflow-stage {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.625rem 0.75rem;
}

.workflow-stage.completed {
  border-color: rgba(5,150,105,0.3);
  background: rgba(5,150,105,0.06);
}

.workflow-stage.active {
  border-color: var(--border-accent);
  background: var(--accent-subtle);
}

.stage-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stage-indicator--done {
  background: var(--green-700);
  color: #fff;
}

.stage-indicator--active {
  background: var(--accent);
  color: #fff;
}

.stage-indicator--pending {
  background: var(--navy-600);
  color: var(--text-on-dark-muted);
}

.stage-content { flex: 1; }

.stage-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.stage-date {
  font-size: 0.5625rem;
  color: var(--text-on-dark-muted);
}

/* Solutions cards */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px var(--border-accent);
}

.solution-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-on-dark-sec);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.solution-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  margin-bottom: 1.5rem;
}

.solution-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-sec);
}

.solution-card__features li::before {
  content: '→';
  color: var(--brand);
  font-size: 0.75rem;
  flex-shrink: 0;
}


/* 20. Animations & Scroll
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }
.fade-up--delay-5 { transition-delay: 0.5s; }


/* 21. Responsive
   ============================================================ */
@media (max-width: 1300px) and (min-width: 1001px) {
  .hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 1.75rem;
    align-items: start;
  }
  .hero__content { max-width: 100%; }
  .hero__visual {
    padding-top: 0.75rem;
    overflow: visible;
  }
  .hero__product-frame {
    width: min(185%, 54rem);
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 1001px) and (max-height: 1080px) {
  .hero {
    min-height: 100svh;
    padding: 5.75rem 0 2.75rem;
    display: flex;
    align-items: center;
  }
  .hero__inner {
    align-items: center;
  }
  .hero__badge {
    margin-bottom: 1rem;
  }
  .hero__title {
    font-size: clamp(2.9rem, 6.4vh, 3rem);
    margin-bottom: 0.95rem;
  }
  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 31rem;
  }
  .hero__highlights {
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }
  .hero__highlight {
    padding: 0.85rem 0.85rem 0.9rem;
  }
  .hero__highlight strong {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
  }
  .hero__highlight span {
    font-size: 0.76rem;
    line-height: 1.45;
  }
  .hero__actions {
    gap: 0.75rem;
    margin-bottom: 1.2rem;
  }
  .hero__social-proof {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 30rem;
  }
  .hero__visual {
    padding-top: 0;
  }
  .hero__product-shot {
    height: min(52svh, 33rem);
  }
}

@media (max-width: 1000px) {
  .hero .container {
    max-width: var(--container);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero__inner {
    max-width: 54rem;
    gap: 3rem;
  }
  .hero__content { max-width: 100%; }
  .hero__highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__geo-lines { width: 72%; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 950px) {
  :root { --section-y: 4rem; }

  .nav__inner {
    justify-content: flex-start;
    height: 60px;
    gap: 1rem;
  }

  .nav__logo img {
    height: 35px;
    transform: none;
  }

  .nav__links,
  .nav__actions > .nav__link,
  .nav__cta-secondary {
    display: none;
  }

  .nav__hamburger { display: flex; }

  .nav__actions {
    margin-left: auto;
    gap: 0.5rem;
  }

  .nav__mobile {
    top: 60px;
  }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .feature-showcase { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-showcase--reverse { direction: ltr; }

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

  .comparison-table { overflow-x: auto; }
  .comparison-table table { min-width: 600px; }

  .trust-stat-row { flex-direction: row; }
  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }
  .hero__highlights { grid-template-columns: 1fr; }
  .hero__geo-lines {
    width: 88%;
    opacity: 0.9;
  }
  .hero-slide__layout--call-centre,
  .hero-slide__layout--reporting,
  .hero-slide__layout--whatsapp,
  .hero-slide__layout--credit,
  .hero-slide__layout--workflow,
  .hero-slide__layout--chat {
    grid-template-columns: 1fr;
  }
  .reporting-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-credit-summary,
  .hero-workflow-pipeline {
    grid-template-columns: 1fr 1fr;
  }
  .workflow-node {
    width: 10.5rem;
  }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .cta-banner { padding: 2.5rem 1.5rem; }

  .trust-stat { padding: 1rem 1.5rem; }
  .trust-stat__number { font-size: 1.6rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero { padding: 7rem 0 4.5rem; }
  .hero__title { font-size: 2.8rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 24rem; justify-content: center; }
  .hero__geo-lines {
    width: 100%;
    opacity: 0.65;
  }
  .hero-slide__topline,
  .hero-enquiry-shell__header,
  .reporting-chart-card__header,
  .whatsapp-shell__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .call-centre-dock,
  .hero-enquiry-shell,
  .hero-ui-card,
  .hero-chat-window,
  .hero-kpi,
  .reporting-chart-card,
  .reporting-stat-card,
  .whatsapp-shell,
  .experian-card,
  .workflow-stage-panel__step,
  .workflow-stage-detail,
  .workflow-checklist__item {
    border-radius: 18px;
  }
  .hero-enquiry-grid,
  .hero-data-grid,
  .hero-finance-figures,
  .hero-credit-summary,
  .hero-workflow-pipeline,
  .hero-chat-side,
  .reporting-stat-grid {
    grid-template-columns: 1fr;
  }
  .reporting-chart {
    grid-template-columns: 3.8rem minmax(0, 1fr);
  }
  .reporting-chart__plot svg {
    min-height: 12rem;
  }
  .hero-task-actions {
    flex-direction: column;
  }
  .credit-gauge__dial {
    width: 11rem;
    height: 11rem;
  }
  .browser-frame__toolbar {
    padding: 0.625rem 0.75rem;
    gap: 0.625rem;
  }
  .browser-dot {
    width: 9px;
    height: 9px;
  }
  .mockup-header-title {
    font-size: 0.875rem;
  }
  .hero__visual .mockup-header-title {
    white-space: nowrap;
  }
  .whatsapp-message {
    max-width: 88%;
  }
  .experian-gauge {
    width: min(100%, 16rem);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  :root { --section-y: 3rem; }
  .hero__title { font-size: 2.35rem; }
  .hero__badge { margin-bottom: 1.15rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__geo-lines { opacity: 0.45; }
  .reporting-chart {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.55rem;
  }
  .reporting-chart__plot svg {
    min-height: 10.5rem;
  }
  .reporting-chart__x-axis {
    gap: 0.25rem;
  }
  .reporting-chart__x-axis strong,
  .reporting-chart__y-axis strong,
  .experian-gauge__labels span,
  .workflow-stage-panel__step span,
  .workflow-stage-panel__step em,
  .workflow-checklist__item span {
    font-size: 0.66rem;
  }
  .reporting-stat-card strong {
    font-size: 1.2rem;
  }
  .whatsapp-message {
    max-width: 92%;
    padding: 0.75rem 0.8rem;
  }
  .experian-gauge {
    width: min(100%, 14rem);
  }
  .experian-gauge__center strong {
    font-size: 3.5rem;
  }
}


/* ============================================================
   How It Works
   ============================================================ */
.hiw-section {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.10), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(252, 76, 105, 0.14), transparent 22%),
    linear-gradient(180deg, #042b39 0%, #022432 100%);
}

.hiw-container {
  position: relative;
  z-index: 2;
}

.hiw-visual {
  margin: 0 auto 3rem;
  max-width: 1160px;
}

.hiw-frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 26, 35, 0.88);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(34, 211, 238, 0.08);
}

.hiw-shot {
  position: relative;
  min-height: 41rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%);
}

.hiw-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 24, 0) 0%, rgba(3, 17, 24, 0.16) 100%);
  pointer-events: none;
}

.hiw-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top left;
}

.hiw-shot--builder {
  overflow: hidden;
}

.workflow-builder {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 100%;
}

.workflow-builder__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(191, 211, 223, 0.12);
  background: rgba(5, 32, 44, 0.92);
}

.workflow-builder__rail-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.workflow-builder__rail-item {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.workflow-builder__rail-item.is-active {
  color: var(--text-on-dark);
}

.workflow-builder__surface {
  display: grid;
  grid-template-rows: auto 1fr;
}

.workflow-builder__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(191, 211, 223, 0.12);
  background: rgba(255,255,255,0.03);
}

.workflow-builder__header strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--text-on-dark);
}

.workflow-builder__header span {
  font-size: 0.78rem;
}

.workflow-builder__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.workflow-builder__canvas {
  position: relative;
  min-height: 34rem;
  background:
    radial-gradient(circle, rgba(255,255,255,0.09) 0.8px, transparent 0.8px),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  background-size: 18px 18px, auto;
  background-position: 0 0, 0 0;
}

.workflow-node {
  position: absolute;
  width: 12rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 211, 223, 0.18);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 24px rgba(2, 12, 20, 0.12);
}

.workflow-node__type {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f7380;
}

.workflow-node strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.84rem;
  color: #0f2430;
}

.workflow-node span:last-child {
  display: block;
  font-size: 0.71rem;
  line-height: 1.45;
  color: #607482;
}

.workflow-node--start { top: 1.5rem; left: 50%; transform: translateX(-50%); }
.workflow-node--rules { top: 7rem; left: 50%; transform: translateX(-50%); }
.workflow-node--stage-review { top: 12.6rem; left: 18%; }
.workflow-node--welcome-email { top: 12.6rem; left: 41.5%; transform: translateX(-50%); }
.workflow-node--welcome-whatsapp { top: 12.6rem; right: 18%; }
.workflow-node--submit { top: 18.2rem; left: 50%; transform: translateX(-50%); }
.workflow-node--approved { top: 24rem; left: 18%; }
.workflow-node--more-info { top: 24rem; left: 50%; transform: translateX(-50%); }
.workflow-node--declined { top: 24rem; right: 18%; }
.workflow-node--approved-stage { bottom: 1.7rem; left: 18%; }
.workflow-node--more-info-stage { bottom: 1.7rem; left: 50%; transform: translateX(-50%); }
.workflow-node--declined-stage { bottom: 1.7rem; right: 18%; }

.workflow-node--trigger,
.workflow-node--end {
  border-color: rgba(37,99,235,0.2);
}

.workflow-node--decision {
  border-color: rgba(245,158,11,0.22);
}

.workflow-node--branch {
  border-color: rgba(14,165,233,0.22);
}

.workflow-node--action {
  border-color: rgba(244,114,182,0.18);
}

.workflow-link {
  position: absolute;
  background: rgba(148, 163, 184, 0.55);
}

.workflow-link--a,
.workflow-link--b,
.workflow-link--f,
.workflow-link--g,
.workflow-link--h,
.workflow-link--i,
.workflow-link--j {
  width: 2px;
}

.workflow-link--c,
.workflow-link--d,
.workflow-link--e {
  height: 2px;
}

.workflow-link--a { top: 5.15rem; left: calc(50% - 1px); height: 1.9rem; }
.workflow-link--b { top: 10.7rem; left: calc(50% - 1px); height: 1.5rem; }
.workflow-link--c { top: 12rem; left: 18%; width: 64%; }
.workflow-link--d { top: 17.6rem; left: 41.5%; width: 17%; }
.workflow-link--e { top: 23.4rem; left: 18%; width: 64%; }
.workflow-link--f { top: 17.1rem; left: calc(50% - 1px); height: 1.1rem; }
.workflow-link--g { top: 18rem; left: 26%; height: 5rem; }
.workflow-link--h { top: 18rem; left: calc(50% - 1px); height: 5rem; }
.workflow-link--i { top: 18rem; right: 26%; height: 5rem; }
.workflow-link--j { top: 29.25rem; left: calc(50% - 1px); height: 2.05rem; }

.workflow-builder__mobile-flow {
  display: none;
}

.workflow-mobile-node {
  padding: 1rem;
  border-top: 1px solid rgba(191, 211, 223, 0.12);
}

.workflow-mobile-node span,
.workflow-mobile-node strong {
  display: block;
}

.workflow-mobile-node span {
  margin-bottom: 0.22rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.workflow-mobile-node strong {
  margin-bottom: 0.35rem;
  color: var(--text-on-dark);
  font-size: 0.9rem;
}

.workflow-mobile-node p {
  font-size: 0.78rem;
  line-height: 1.55;
}

.hiw-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

@media (max-width: 768px) {
  .hiw-frame {
    display: block;
  }
  .hiw-visual {
    margin-bottom: 2.25rem;
  }
  .hiw-shot {
    min-height: auto;
  }
  .workflow-builder {
    grid-template-columns: 1fr;
  }
  .workflow-builder__rail,
  .workflow-builder__canvas {
    display: none;
  }
  .workflow-builder__surface {
    grid-template-rows: auto auto;
  }
  .workflow-builder__mobile-flow {
    display: block;
  }
  .hiw-steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mobile-crop-card__viewport--crm-main {
    height: 400px;
  }

  .mobile-crop-card__image--crm-main {
    width: unset;
    height: 100%;
    left: 0;
  }

  .mobile-crop-card__image--workflow-graph {
    width: 220%;
    left: -38%;
  }

  .mobile-crop-card__image--workflow-config {
    width: 262%;
    left: -150%;
  }
}


/* ============================================================
   Legal Pages
   ============================================================ */
.legal-page {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(3, 22, 35, 0.96) 0%, rgba(2, 18, 30, 1) 100%);
}

.legal-shell {
  padding: 0 0 6rem;
}

.legal-intro {
  max-width: 48rem;
}

.legal-intro p {
  color: var(--text-on-dark-sec);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.legal-card {
  background: rgba(9, 24, 39, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-meta__item {
  padding: 1rem 1.125rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(15, 33, 53, 0.62);
}

.legal-meta__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.legal-meta__item p,
.legal-meta__item a {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal-meta__item a {
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, 0.45);
  text-underline-offset: 0.18em;
}

.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.legal-section h2 {
  margin-bottom: 0.85rem;
  color: var(--text-on-dark);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 1.25rem 0 0.65rem;
  color: var(--text-on-dark);
  font-size: 1rem;
  font-weight: 700;
}

.legal-section p {
  color: var(--text-on-dark-sec);
  font-size: 0.975rem;
  line-height: 1.75;
}

.legal-section p + p {
  margin-top: 0.85rem;
}

.legal-list,
.legal-section ol {
  margin: 0.95rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-on-dark-sec);
}

.legal-list li,
.legal-section ol li {
  margin: 0.5rem 0;
  line-height: 1.7;
}

.legal-definition-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.legal-definition {
  padding: 1rem 1.125rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.legal-definition dt {
  margin-bottom: 0.35rem;
  color: var(--text-on-dark);
  font-weight: 700;
}

.legal-definition dd {
  margin: 0;
  color: var(--text-on-dark-sec);
  line-height: 1.65;
}

.legal-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  border-spacing: 0;
}

.demo-form-page {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(3, 22, 35, 0.96) 0%, rgba(2, 18, 30, 1) 100%);
}

.thank-you-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(3, 22, 35, 0.96) 0%, rgba(2, 18, 30, 1) 100%);
}

.thank-you-card {
  width: min(100%, 40rem);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(9, 24, 39, 0.9);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.thank-you-card h1 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.thank-you-card p {
  margin-top: 0.9rem;
  color: var(--text-on-dark-sec);
  font-size: 1rem;
  line-height: 1.7;
}

.demo-form-embed-section {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.demo-form-embed-shell {
  display: flex;
  justify-content: center;
  width: 100%;
}

.demo-form-embed-card {
  align-items: center;
  justify-content: center;
  display: flex;
  width: min(100%, 62rem);
  min-height: 600px;
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(9, 24, 39, 0.9);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

@media (max-width: 768px) {
  .demo-form-embed-section {
    min-height: auto;
    padding: 5.5rem 0 4rem;
  }

  .demo-form-embed-card {
    padding: 1.25rem;
    border-radius: 24px;
  }
}

.legal-table th,
.legal-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--text-on-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-table td {
  color: var(--text-on-dark-sec);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-shell {
    padding-bottom: 4rem;
  }

  .legal-card {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }
}

#enquiry-form-iframe {
  height: 100% !important;
}
