*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--surface-muted);
  color: var(--ink-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== BUTTONS ==================== */
.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-lg svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.btn-lg:hover svg { transform: translateX(3px); }

.btn-lg.solid {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -4px rgba(37, 99, 235, 0.45);
}

.btn-lg.solid:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
}

.btn-lg.ghost {
  color: var(--ink-900);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #cfdcf3;
  backdrop-filter: blur(6px);
}

.btn-lg.ghost:hover {
  border-color: var(--brand-500);
  background-color: #ffffff;
  transform: translateY(-2px);
}

/* ==================== HERO ==================== */
.lm-hero {
  /* White person silhouette used on every user avatar */
  --user-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' fill-opacity='0.95'%3E%3Ccircle cx='12' cy='9' r='4.6'/%3E%3Cpath d='M2.5 24a9.5 9.5 0 0 1 19 0z'/%3E%3C/svg%3E");
  position: relative;
  padding: 2.5rem 0 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f4f8ff 0%, #e6efff 55%, #dbe7ff 100%);
}

/* Soft cloud blobs */
.lm-cloud {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: #ffffff;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
}

.lm-cloud.c1 { width: 420px; height: 200px; left: -120px; top: 52%; }
.lm-cloud.c2 { width: 360px; height: 180px; right: -100px; top: 30%; }
.lm-cloud.c3 { width: 260px; height: 140px; left: 18%; top: 38%; opacity: 0.6; }

/* Faint grid wash */
.lm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.lm-hero-copy {
  max-width: 780px;
  margin: 0 auto;
}

.lm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #d7e3f8;
  border-radius: 999px;
  box-shadow: 0 4px 14px -6px rgba(37, 99, 235, 0.25);
}

.lm-badge b {
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--brand-600);
  border-radius: 999px;
}

.lm-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.lm-hero-copy p {
  max-width: 560px;
  margin: 1.25rem auto 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

.lm-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* ==================== SOURCE ICONS (chips + table) ==================== */
.lm-hero .ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg, #ffffff);
  box-shadow: inset 0 0 0 1px var(--line);
}

.lm-hero .ic svg { width: 15px; height: 15px; display: block; }

/* ==================== STAGE (mockup + floating chips) ==================== */
.lm-stage {
  position: relative;
  max-width: 1080px;
  margin: 4rem auto 0;
}

.lm-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-800);
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: lmFloat 6s ease-in-out infinite;
}

.lm-chip.k1 { top: -46px;  left: 6%; }
.lm-chip.k2 { top: -40px;  right: 8%;  animation-delay: -2s; }
.lm-chip.k3 { top: -150px; left: -1%;  animation-delay: -4s; }
.lm-chip.k4 { top: -136px; right: -1%; animation-delay: -3s; }

@keyframes lmFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Glass frame around the app window */
.lm-frame {
  position: relative;
  z-index: 2;
  padding: 12px 12px 0;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(10px);
}

.lm-app {
  overflow: hidden;
  text-align: left;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

/* App top bar */
.lm-topbar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}

.lm-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-900);
}

.lm-logo span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
}

.lm-logo svg { width: 14px; height: 14px; }

.lm-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-400);
}

.lm-nav .on { color: var(--ink-900); }

.lm-top-tools {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
  color: var(--ink-500);
}

.lm-top-tools svg { width: 16px; height: 16px; }

.lm-me {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--user-ico) 50% 100% / 80% no-repeat, linear-gradient(135deg, #93c5fd, var(--brand-600));
}

.lm-me::after {
  content: "3";
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #ef4444;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* Board header */
.lm-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem 0.9rem;
}

.lm-board-head h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-900);
}

.lm-board-head h2 em {
  padding: 0.1rem 0.5rem;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  color: var(--brand-700);
  background-color: var(--brand-50);
  border-radius: 999px;
}

.lm-tabs {
  display: flex;
  gap: 1.2rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-400);
}

.lm-tabs .on {
  color: var(--brand-600);
  box-shadow: 0 2px 0 var(--brand-600);
  padding-bottom: 0.25rem;
}

.lm-team { display: flex; align-items: center; }

.lm-team i {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--user-ico) 50% 100% / 80% no-repeat, var(--av);
}

.lm-team i:first-child { margin-left: 0; }

.lm-team b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  font-size: 0.65rem;
  color: #ffffff;
  background-color: var(--brand-600);
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* Toolbar */
.lm-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
}

.lm-seg {
  display: flex;
  padding: 3px;
  background-color: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lm-seg span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
}

.lm-seg svg { width: 12px; height: 12px; }

.lm-seg .on {
  color: var(--ink-900);
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(11, 19, 36, 0.08);
}

.lm-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 190px;
  margin-left: auto;
  padding: 0.45rem 0.75rem;
  color: var(--ink-400);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lm-search svg { width: 13px; height: 13px; }

.lm-pill-src {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lm-pill-src svg { width: 12px; height: 12px; }

.lm-add {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--brand-600);
  border-radius: 9px;
}

.lm-add svg { width: 12px; height: 12px; stroke-width: 2.5; }

/* ==================== LEADS TABLE ==================== */
.lm-table-wrap {
  padding: 0 1.4rem;
}

.lm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.74rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.lm-table th {
  padding: 0.65rem 0.9rem;
  font-size: 0.64rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  white-space: nowrap;
  background-color: var(--surface-muted);
  border-bottom: 1px solid var(--line);
}

.lm-table td {
  padding: 0.7rem 0.9rem;
  color: var(--ink-700);
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}

.lm-table tbody tr.sel td { background-color: var(--brand-50); }

.lm-table .c-cb { width: 36px; padding-right: 0; }

.lm-cb {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
}

.lm-cb.on {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
}

.lm-cb svg { width: 9px; height: 9px; stroke: #ffffff; stroke-width: 3.5; }

/* Lead cell */
.lm-lead {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lm-av {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ac);
  background-color: var(--ab);
  border-radius: 50%;
}

.lm-lead b {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-900);
}

.lm-lead small {
  display: block;
  font-size: 0.66rem;
  color: var(--ink-400);
}

/* Source cell */
.lm-src {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.lm-src em { font-style: normal; }

.lm-src .ic { width: 24px; height: 24px; }
.lm-src .ic svg { width: 13px; height: 13px; }

/* Status pill */
.lm-st {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--tc);
  background-color: var(--tb);
  border-radius: 999px;
}

.lm-st::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Owner */
.lm-owner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lm-owner i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--user-ico) 50% 100% / 80% no-repeat, var(--av);
}

.lm-muted { color: var(--ink-400); }

.lm-dots { width: 16px; height: 16px; color: var(--ink-400); }

/* Table footer */
.lm-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-500);
  border: 1px solid var(--line);
  border-top: 0;
}

.lm-pages { display: flex; gap: 0.3rem; }

.lm-pages span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.3rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lm-pages .on {
  color: #ffffff;
  background-color: var(--brand-600);
  border-color: var(--brand-600);
}

/* Shared icon look */
.lm-hero svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================== WHAT IS LEAD MANAGEMENT ==================== */
.lm-what {
  position: relative;
  padding: 6.5rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.lm-what::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 65%);
  pointer-events: none;
}

.lm-what svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lm-what-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 4rem;
  align-items: center;
}

.lm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.lm-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.lm-what h2 {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.lm-what-copy p {
  margin-top: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-600);
}

.lm-what-copy p strong { color: var(--ink-900); font-weight: 700; }

.lm-aka {
  padding: 0.1rem 0.55rem;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--brand-700);
  background-color: var(--brand-50);
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* Lead → customer journey */
.lm-journey {
  display: flex;
  align-items: center;
  margin-top: 2.25rem;
  padding: 1.1rem 1.25rem;
  background-color: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.lm-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lm-step-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--c);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px -6px rgba(11, 19, 36, 0.15);
}

.lm-step-ic svg { width: 19px; height: 19px; }

.lm-step b {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-900);
}

.lm-step small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-500);
}

.lm-step-line {
  position: relative;
  flex: 1;
  min-width: 18px;
  height: 2px;
  margin: 0 0.75rem;
  background-image: linear-gradient(90deg, #c7d7f5 50%, transparent 50%);
  background-size: 8px 2px;
}

.lm-step-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #c7d7f5;
  border-right: 2px solid #c7d7f5;
  transform: translateY(-50%) rotate(45deg);
}

.lm-what-cta { margin-top: 2rem; }

/* Calendar icon stays put; only the arrow nudges on hover */
.btn-lg:hover svg.cal { transform: none; }

/* Right column: image + overlapping capabilities card */
.lm-what-side { position: relative; }

.lm-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(11, 19, 36, 0.45);
}

.lm-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.8s var(--ease);
}

.lm-what-side:hover .lm-media img { transform: scale(1.04); }

.lm-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 19, 36, 0) 45%, rgba(11, 19, 36, 0.45) 100%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 55%);
  pointer-events: none;
}

.lm-media-chip {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  animation: lmFloat 6s ease-in-out infinite;
}

.lm-media-chip.m2 {
  top: auto;
  left: auto;
  right: 1rem;
  bottom: 5.75rem;
  animation-delay: -3s;
}

.lm-media-chip i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background-color: var(--c);
  border-radius: 10px;
}

.lm-media-chip i svg { width: 16px; height: 16px; }

.lm-media-chip b {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-900);
}

.lm-media-chip small {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-500);
}

/* Capabilities panel */
.lm-cap {
  position: relative;
  z-index: 2;
  margin: -4.5rem 1.25rem 0;
  padding: 2rem;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.3);
}

.lm-cap-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}

.lm-cap-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #ffffff;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.6);
}

.lm-cap-logo svg { width: 22px; height: 22px; }

.lm-cap-head h3 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-900);
}

.lm-cap-head p {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.lm-cap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
}

.lm-cap-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.lm-cap-item:hover {
  transform: translateY(-3px);
  border-color: var(--c);
  box-shadow: 0 14px 28px -16px var(--c);
}

.lm-cap-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--c);
  background-color: var(--b);
  border-radius: 12px;
  transition: transform 0.25s var(--ease);
}

.lm-cap-item:hover .lm-cap-ic { transform: scale(1.08) rotate(-4deg); }

.lm-cap-ic svg { width: 20px; height: 20px; }

.lm-cap-item span {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-800);
}

.lm-cap-item em {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-400);
  opacity: 0.7;
}

/* ==================== INTEGRATIONS ORBIT ==================== */
.ig {
  padding: 6rem 0 6.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, #f3f7ff 100%);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.ig svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ig-head {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ig-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.ig-head p {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-600);
}

/* Legend */
.ob-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.ob-legend span,
.ob-mtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-600);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ob-legend span::before,
.ob-mtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--dot);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 20%, transparent);
}

/* Orbit canvas */
.ob-map {
  --rxo: 450px;  --ryo: 262px;   /* outer ring radii */
  --rxi: 270px;  --ryi: 145px;   /* inner ring radii */
  position: relative;
  max-width: 1100px;
  height: calc(var(--ryo) * 2 + 150px);
  margin: 2.5rem auto 0;
}

.ob-map::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.ob-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ob-ring.o {
  width: calc(var(--rxo) * 2);
  height: calc(var(--ryo) * 2);
  border: 1.5px dashed #b4c9ef;
}

.ob-ring.i {
  width: calc(var(--rxi) * 2);
  height: calc(var(--ryi) * 2);
  border: 1.5px solid #cddcf6;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35));
}

/* Hub */
.ob-hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.15rem;
  width: 140px;
  height: 140px;
  color: var(--ink-900);
  text-align: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 35%, #ffffff 55%, #f4f8ff 100%);
  box-shadow:
    0 0 0 10px #e3edfd,
    0 0 0 11px #cddcf6,
    0 28px 56px -14px rgba(37, 99, 235, 0.55);
}

.ob-hub img { display: block; width: 56px; height: 56px; margin-bottom: 0.2rem; }

.ob-hub b {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
}

.ob-hub small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

/* Integration nodes */
.ob-set { list-style: none; }
.ob-mtitle { display: none; }

.ob {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 124px;
  transform: translate(-50%, -32px);
  animation: obFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * -0.85s);
}

.ob-set.o .ob { left: calc(50% + var(--x) * var(--rxo)); top: calc(50% + var(--y) * var(--ryo)); }
.ob-set.i .ob { left: calc(50% + var(--x) * var(--rxi)); top: calc(50% + var(--y) * var(--ryi)); }

@keyframes obFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* Nodes travel slowly along their ring (outer clockwise, inner counter-clockwise) */
@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes obOrbit {
  from { --ang: var(--a0); }
  to   { --ang: calc(var(--a0) + 360deg); }
}

@supports (top: calc(1px * cos(1deg))) {
  .ob { --ang: var(--a0); }

  .ob-set.o .ob {
    left: calc(50% + cos(var(--ang)) * var(--rxo));
    top: calc(50% + sin(var(--ang)) * var(--ryo));
    animation: obOrbit 90s linear infinite, obFloat 6s ease-in-out calc(var(--d, 0) * -0.85s) infinite;
  }

  .ob-set.i .ob {
    left: calc(50% + cos(var(--ang)) * var(--rxi));
    top: calc(50% + sin(var(--ang)) * var(--ryi));
    animation: obOrbit 70s linear infinite reverse, obFloat 6s ease-in-out calc(var(--d, 0) * -0.85s) infinite;
  }}

.ob-ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--c, var(--brand-600));
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px var(--b, var(--brand-50)),
    0 14px 28px -12px rgba(11, 19, 36, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.ob-ic svg { width: 26px; height: 26px; display: block; }

.ob-name {
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-900);
  white-space: nowrap;
}

.ob:hover { z-index: 3; }

.ob:hover .ob-ic {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 0 0 6px var(--b, var(--brand-50)),
    0 0 0 7px color-mix(in srgb, var(--c, #2563eb) 35%, transparent),
    0 20px 34px -12px rgba(37, 99, 235, 0.45);
}

/* Inner ring nodes are slightly smaller */
.ob-set.i .ob-ic { width: 56px; height: 56px; }
.ob-set.i .ob-ic svg { width: 23px; height: 23px; }
.ob-set.i .ob { transform: translate(-50%, -28px); }

@media (max-width: 1140px) {
  .ob-map { --rxo: 370px; --ryo: 252px; --rxi: 215px; --ryi: 140px; }
  .ob-map::before { width: 460px; height: 340px; }
  .ob { width: 112px; }
  .ob-name { font-size: 0.74rem; }
  .ob-ic { width: 56px; height: 56px; }
  .ob-ic svg { width: 23px; height: 23px; }
  .ob-set.i .ob-ic { width: 50px; height: 50px; }
  .ob-set.i .ob-ic svg { width: 21px; height: 21px; }
  .ob-hub { width: 120px; height: 120px; }
  .ob-hub img { width: 46px; height: 46px; }
  .ob-hub b { font-size: 0.85rem; }
}

@media (max-width: 900px) {
  .ob-map { --rxo: 300px; --ryo: 246px; --rxi: 170px; --ryi: 132px; }
}

/* Stacked layout for small screens */
@media (max-width: 760px) {
  .ig { padding: 4rem 0 4.5rem; }
  .ob-legend { display: none; }

  .ob-map {
    display: grid;
    gap: 2rem;
    height: auto;
    margin-top: 2.5rem;
  }

  .ob-map::before { top: 70px; width: 320px; height: 300px; }
  .ob-ring { display: none; }

  .ob-hub {
    position: relative;
    top: auto;
    left: auto;
    margin: 12px auto 1rem;
    transform: none;
  }

  .ob-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ob-set.i { order: 2; }

  .ob-mtitle {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 0.25rem;
  }

  .ob,
  .ob-set.o .ob,
  .ob-set.i .ob {
    position: static;
    flex-direction: row;
    gap: 0.6rem;
    width: auto;
    height: 58px;
    padding: 0 0.75rem 0 0.6rem;
    transform: none;
    animation: none;
    background-color: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 20px -14px rgba(37, 99, 235, 0.3);
  }

  .ob-ic,
  .ob-set.i .ob-ic {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--b, var(--brand-50));
    border-radius: 10px;
    box-shadow: none;
  }

  .ob-ic svg,
  .ob-set.i .ob-ic svg { width: 18px; height: 18px; }

  .ob:hover .ob-ic { transform: none; box-shadow: none; }

  .ob-name {
    padding: 0;
    font-size: 0.8rem;
    text-align: left;
    white-space: normal;
    background: none;
    border: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ob, .ob-set.o .ob, .ob-set.i .ob { animation: none; }
  .ob-ic { transition: none; }
}

/* ==================== FAQ (same design as index.html) ==================== */
.faq {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 123, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.faq svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-700);
  background-color: var(--surface);
  border: 1px solid #d0e1fd;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.faq-pill-tag {
  padding: 0.2rem 0.5rem;
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--brand-600);
  border-radius: 999px;
}

.faq-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.faq-desc {
  max-width: 660px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

.faq-desc strong { color: var(--ink-900); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background-color: #eef4ff;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover { border-color: #d0e1fd; }

.faq-item.is-open {
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: 0 18px 40px -20px rgba(37, 99, 235, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--ink-900);
  background: none;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--ink-700);
  background-color: var(--surface);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06);
  transition: transform 0.3s var(--ease), color 0.2s ease, background-color 0.2s ease;
}

.faq-icon svg { width: 16px; height: 16px; stroke-width: 2.25; }

.faq-question:hover .faq-icon { color: var(--brand-600); }

/* Plus rotates into a close (x) when open */
.faq-item.is-open .faq-icon {
  color: var(--ink-900);
  background-color: #e2eafa;
  box-shadow: none;
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner { overflow: hidden; }

.faq-answer p {
  padding: 0 4.5rem 1.35rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-500);
}

@media (max-width: 640px) {
  .faq { padding: 3.5rem 0; }
  .faq-inner { padding: 0 1.25rem; }
  .faq-head { margin-bottom: 2.25rem; }
  .faq-question { padding: 0.95rem 0.9rem 0.95rem 1.15rem; font-size: 0.925rem; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-answer p { padding: 0 1.15rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon { transition: none; }
}

/* ==================== LEAD JOURNEY FLOW CHART ==================== */
/* Section shell; the diagram styles below are shared with crm-automation-software.html and index.html */
.lmj {
  --brand-400: #60a5fa; /* lighter brand blue used by the diagram (not defined globally) */
  position: relative;
  padding: 6rem 0 6.5rem;
  background-color: var(--surface-muted);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.lmj-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  text-align: center;
}

.lmj-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.lmj-head p {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-600);
}

@media (max-width: 760px) {
  .lmj { padding: 4rem 0 4.5rem; }
  .lmj-head { padding: 0 1.25rem; }
}

@keyframes phBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
/* ==================== LEAD JOURNEY DIAGRAM ==================== */
/* Fixed 1480x530 canvas (nodes + SVG lines share coordinates); JS scales it to fit, phones scroll sideways. */
/* Same box as the header (.header-inner): logo left edge to "Schedule a Demo" right edge */
.jf-wrap { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.jf-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding: 0.5rem 0; }
.jf-fit { position: relative; width: 1480px; height: 530px; margin: 0 auto; }
.jf { position: absolute; top: 0; left: 0; width: 1480px; height: 530px; transform-origin: 0 0; }
.jf svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.jf-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jf-lines path { stroke: #a9c1ee; stroke-width: 2; }
.jf-lines .jf-dot { fill: var(--brand-600); stroke: #fff; stroke-width: 2; }
.jf-lines .tick { fill: #fff; stroke: var(--brand-600); stroke-width: 2.5; }
.jf-lines text { fill: var(--ink-700); stroke: none; font-family: inherit; font-size: 11px; font-weight: 800; text-anchor: middle; }
.jf-lines text.tpl { fill: var(--brand-600); font-size: 9.5px; font-weight: 700; text-anchor: start; }

/* Centred elements: left/top = centre point */
.jf-n { position: absolute; transform: translate(-50%, -50%); }

/* Blue hub circles (CRM, Lead Nurturing, Auto Follow-ups, Re-churn) */
.jf-c { display: grid; place-items: center; width: var(--s); height: var(--s); padding: 6px; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.15; color: #fff; border-radius: 50%; background: linear-gradient(160deg, var(--brand-500), var(--brand-700)); box-shadow: 0 0 0 5px #e0edff, 0 12px 24px -10px rgba(37, 99, 235, 0.55); }
.jf-c.xl { font-size: 22px; letter-spacing: -0.02em; }

/* AI calling nodes (in place of the callers) */
.jf-ai { display: grid; place-items: center; width: var(--s); height: var(--s); color: #fff; border-radius: 50%; background: linear-gradient(160deg, var(--brand-500), var(--brand-700)); box-shadow: 0 0 0 5px #e0edff, 0 12px 24px -10px rgba(37, 99, 235, 0.55); }
.jf-ai::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand-400); animation: jfRipple 2.2s ease-out infinite; }
.jf-ai svg { width: 44%; height: 44%; }
.jf-ai em { position: absolute; top: -5px; right: -9px; padding: 1px 6px; font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--brand-700); background-color: #fff; border: 1px solid #d0e1fd; border-radius: 999px; }
.jf-cap { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: var(--brand-700); white-space: nowrap; }

/* People / places as white icon circles */
.jf-p { display: grid; place-items: center; width: var(--s); height: var(--s); color: var(--brand-600); background-color: #fff; border: 2px solid var(--brand-500); border-radius: 50%; box-shadow: 0 0 0 5px #e0edff, 0 10px 20px -10px rgba(11, 19, 36, 0.25); }
.jf-p svg { width: 42%; height: 42%; }

/* Small icon bubbles on lines */
.jf-b { display: grid; place-items: center; width: var(--s); height: var(--s); color: var(--brand-600); background-color: #fff; border: 1px solid #d0e1fd; border-radius: 50%; box-shadow: 0 4px 10px -4px rgba(37, 99, 235, 0.35); }
.jf-b svg { width: 50%; height: 50%; }

/* Line labels */
.jf-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 10px; font-weight: 700; color: var(--ink-700); white-space: nowrap; background-color: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); }
.jf-chip svg { width: 12px; height: 12px; color: var(--brand-600); }

/* Blue option boxes with white pills */
.jf-box { position: absolute; display: grid; gap: 6px; padding: 7px; background-color: var(--brand-600); border-radius: 12px; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.6); }
.jf-box span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 22px; padding: 0 6px; font-size: 10px; font-weight: 700; color: var(--brand-700); white-space: nowrap; background-color: #fff; border-radius: 6px; }
.jf-box span.hd { color: #fff; background-color: rgba(255, 255, 255, 0.18); }
.jf-box span svg { width: 12px; height: 12px; }

/* Grey schedule panels (Day 1–7, Mon–Sun) */
.jf-list { position: absolute; display: grid; gap: 6px; padding: 8px; background-color: #eef2f8; border: 1px solid var(--line); border-radius: 14px; }
.jf-list div { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 4px; }
.jf-list small { font-size: 9.5px; font-weight: 700; color: var(--ink-500); }
.jf-list span { display: flex; align-items: center; justify-content: center; height: 28px; font-size: 10.5px; font-weight: 700; color: #fff; white-space: nowrap; background-color: var(--brand-600); border-radius: 7px; animation: jfRow 7s ease-in-out infinite; }
.jf-list div:nth-child(2) span { animation-delay: 1s; }
.jf-list div:nth-child(3) span { animation-delay: 2s; }
.jf-list div:nth-child(4) span { animation-delay: 3s; }
.jf-list div:nth-child(5) span { animation-delay: 4s; }
.jf-list div:nth-child(6) span { animation-delay: 5s; }
.jf-list div:nth-child(7) span { animation-delay: 6s; }

/* Lead source labels */
.jf-src { position: absolute; display: grid; justify-items: center; gap: 3px; width: 52px; font-size: 9px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink-600); }
.jf-src svg { width: 14px; height: 14px; color: var(--brand-600); }

/* WhatsApp message mock-ups drawn with shapes */
.jf-phone { position: absolute; padding: 6px 5px; background-color: #fff; border: 2px solid #cbd5e1; border-radius: 12px; box-shadow: 0 10px 22px -10px rgba(11, 19, 36, 0.3); }
.jf-phone .bar { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.jf-phone .bar i { width: 8px; height: 8px; border-radius: 50%; background-color: var(--brand-500); }
.jf-phone .bar b { flex: 1; height: 3px; border-radius: 2px; background-color: #cbd5e1; }
.jf-phone .vid { display: grid; place-items: center; height: var(--vh, 46px); color: #fff; border-radius: 6px; background: linear-gradient(160deg, var(--brand-400), var(--brand-700)); }
.jf-phone .vid svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.jf-phone .ln { height: 4px; margin-top: 5px; border-radius: 2px; background-color: #e2e8f0; }
.jf-phone .wa { position: absolute; right: 5px; bottom: 5px; display: grid; place-items: center; width: 16px; height: 16px; color: #fff; border-radius: 50%; background-color: var(--brand-600); }
.jf-phone .wa svg { width: 9px; height: 9px; }

/* Mockup animations: phone floats, video shines + plays, message lines type in, WhatsApp icon pings */
.jf-phone { animation: jfFloat 5s ease-in-out infinite; }
.jf-phone .bar i { animation: phBlink 1.4s ease-in-out infinite; }
.jf-phone .vid { position: relative; overflow: hidden; }
.jf-phone .vid::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%); transform: translateX(-100%); animation: jfShine 3.2s ease-in-out infinite; }
.jf-phone .vid::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 3px; border-radius: 2px; background-color: #fff; transform-origin: left center; animation: jfProg 4s linear infinite; }
.jf-phone .vid svg { position: relative; animation: jfPlay 1.6s ease-in-out infinite; }
.jf-phone .ln { transform-origin: left center; animation: jfType 4s ease-out infinite; }
.jf-phone .ln:nth-of-type(4) { animation-delay: 0.35s; }
.jf-phone .ln:nth-of-type(5) { animation-delay: 0.7s; }
.jf-phone .wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-500); animation: jfPing 1.8s ease-out infinite; }
/* Re-churn campaign card: delivery funnel bars fill on loop */
.jf-camp { position: absolute; font-size: 8px; line-height: 1.25; padding: 0.7em 0.8em 0.85em; background-color: #fff; border: 1px solid var(--line); border-radius: 1.2em; box-shadow: 0 10px 22px -10px rgba(11, 19, 36, 0.3); animation: jfFloat 5s ease-in-out infinite; }
.jf-camp .hd { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.5em; }
.jf-camp .hd > svg { flex-shrink: 0; width: 2.5em; height: 2.5em; padding: 0.55em; color: #fff; background-color: var(--brand-600); border-radius: 0.6em; }
.jf-camp .hd span { flex: 1; min-width: 0; font-size: 1.05em; font-weight: 800; color: var(--ink-900); }
.jf-camp .hd small { display: block; font-size: 0.78em; font-weight: 600; color: var(--ink-500); }
.jf-camp .live { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.3em; padding: 0.2em 0.5em; font-style: normal; font-size: 0.8em; font-weight: 800; color: var(--brand-700); background-color: #e0edff; border-radius: 999px; }
.jf-camp .live::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background-color: var(--brand-600); animation: phBlink 1.2s ease-in-out infinite; }
.jf-camp .st { display: grid; grid-template-columns: 1fr auto; row-gap: 0.25em; margin-top: 0.45em; font-weight: 700; color: var(--ink-600); }
.jf-camp .st b { font-weight: 800; color: var(--ink-900); }
.jf-camp .st i { position: relative; grid-column: 1 / -1; height: 0.45em; overflow: hidden; border-radius: 1em; background-color: #e2e8f0; }
.jf-camp .st i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--brand-500), var(--brand-600)); transform-origin: left center; animation: jfBar 6s ease-out infinite; }
.jf-camp .st:nth-child(3) i::after { animation-delay: 0.3s; }
.jf-camp .st:nth-child(4) i::after { animation-delay: 0.6s; }
.jf-camp .st:nth-child(5) i::after { animation-delay: 0.9s; }
@keyframes jfBar { 0% { transform: scaleX(0); } 25%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

@keyframes jfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes jfShine { 0%, 20% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes jfProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jfPlay { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes jfType { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes jfPing { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }

/* Industry switcher: same diagram, industry-specific labels */
.jf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: -1rem auto 1.75rem; }
.jf-tabs button { display: inline-flex; align-items: center; gap: 0.45rem; height: 40px; padding: 0 1rem; font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--ink-700); background-color: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.jf-tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--brand-600); }
.jf-tabs button:hover { border-color: #b9cff7; }
.jf-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, var(--brand-500), var(--brand-600)); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6); }
.jf-tabs button[aria-selected="true"] svg { color: #fff; }
.jf-tabs button:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.3); outline-offset: 2px; }
.jf-wrap [data-t] { transition: opacity 0.25s ease; }
.jf-wrap.is-swapping [data-t] { opacity: 0; }


@keyframes jfRipple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.4); opacity: 0; } }
@keyframes jfRow {
  0%, 15%, 100% { background-color: var(--brand-600); box-shadow: none; }
  4%, 11% { background-color: var(--brand-500); box-shadow: 0 0 0 3px #bfd5ff; }
}
/* Mobile: the same diagram, laid out top to bottom (replaces the wide canvas) */
.jv { display: none; max-width: 400px; margin: 0 auto; }
.jv svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jv-col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.jv .jf-ai, .jv .jf-box, .jv .jf-list, .jv .jf-phone, .jv .jf-camp { position: relative; flex-shrink: 0; }
.jv .jf-camp { font-size: 9.5px; }
.jv .jf-c, .jv .jf-p, .jv .jf-b { flex-shrink: 0; }
.jv-cap { margin-top: 9px; font-size: 11px; font-weight: 800; color: var(--brand-700); }
.jv-src { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; width: 100%; max-width: 300px; margin-bottom: 10px; }
.jv-src > span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink-600); }
.jv-src svg { width: 15px; height: 15px; color: var(--brand-600); }

/* Connector segments; a dot travels down the main ones */
.vl { position: relative; display: block; flex-shrink: 0; width: 2px; height: 22px; background-color: #a9c1ee; }
.vl.grow { flex: 1 1 auto; min-height: 22px; }
.vl.flow::after { content: ""; position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background-color: var(--brand-600); box-shadow: 0 0 0 2px #fff; animation: jvDot 1.4s linear infinite; }
.hl { flex-shrink: 0; width: 14px; height: 2px; background-color: #a9c1ee; }

/* Two-way split / merge */
.jv-split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: 100%; }
.jv-split::before, .jv-split.merge::after { content: ""; position: absolute; left: calc(25% - 3px); right: calc(25% - 3px); height: 2px; background-color: #a9c1ee; }
.jv-split::before { top: 0; }
.jv-split.merge::after { bottom: 0; }
.jv-split .jf-box { width: 100%; }
.jv-split .jf-box span { font-size: 9.5px; }

.jv-row { display: flex; align-items: center; justify-content: center; }
.jv .jf-chip { flex-shrink: 0; }

/* Re-churn timeline, vertical */
.jv-time { position: relative; display: grid; gap: 9px; padding-left: 24px; list-style: none; }
.jv-time::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: 2px; background-color: var(--brand-600); }
.jv-time li { position: relative; }
.jv-time li::before { content: ""; position: absolute; top: 2px; left: -24px; width: 14px; height: 14px; border-radius: 50%; background-color: #fff; border: 3px solid var(--brand-600); }
.jv-time b { display: block; font-size: 11px; font-weight: 800; line-height: 1.2; color: var(--ink-900); }
.jv-time small { font-size: 9.5px; font-weight: 700; color: var(--brand-600); }

@keyframes jvDot { from { top: -4px; opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 4px); opacity: 0; } }

@media (max-width: 760px) {
  .jf-scroll { display: none; }
  .jv { display: block; }
  .jf-tabs { margin-top: -0.5rem; }
  .jf-tabs button { height: 36px; padding: 0 0.8rem; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .jf-wrap { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .jf-ai::before, .jf-list span { animation: none; }
  .jf-phone, .jf-phone *, .jf-phone .vid::before, .jf-phone .vid::after, .jf-phone .wa::after, .jf-camp, .jf-camp .live::before, .jf-camp .st i::after { animation: none !important; }
  .jv .vl::after { display: none; }
  .jf-lines .jf-dot { display: none; }
}

/* Scroll reveal (only when JS + IntersectionObserver are available) */
.rv-on .lm-rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.rv-on .lm-rv.in { opacity: 1; transform: none; }
.rv-on .lm-rv.r2 { transition-delay: 0.12s; }

/* ==================== ENTRANCE ==================== */
.js .lm-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: lmUp 0.8s var(--ease) forwards;
}

.js .lm-anim.d1 { animation-delay: 0.08s; }
.js .lm-anim.d2 { animation-delay: 0.16s; }
.js .lm-anim.d3 { animation-delay: 0.24s; }
.js .lm-anim.d4 { animation-delay: 0.36s; }

@keyframes lmUp {
  to { opacity: 1; transform: none; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .lm-nav, .lm-tabs { display: none; }
  .lm-chip.k3, .lm-chip.k4 { display: none; }
  .lm-table .c-owner, .lm-table .c-act { display: none; }

  .lm-what { padding: 5rem 0; }
  .lm-what-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lm-what-copy { max-width: 680px; }
}

@media (max-width: 860px) {
  .lm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lm-search { min-width: 150px; }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .container { padding: 0 1rem; }

  /* Copy */
  .lm-hero { padding-top: 3.5rem; }
  .lm-badge { font-size: 0.72rem; margin-bottom: 1.1rem; }
  .lm-hero h1 { font-size: clamp(1.85rem, 8.6vw, 2.5rem); }
  .lm-hero-copy p { font-size: 0.98rem; margin-top: 1rem; }
  .lm-cta { gap: 0.65rem; margin-top: 1.6rem; }
  .btn-lg { flex: 1 1 100%; height: 48px; }

  /* Floating chips sit above the frame, one per side */
  .lm-stage { margin-top: 3.75rem; }
  .lm-chip { padding: 0.3rem 0.65rem 0.3rem 0.3rem; font-size: 0.7rem; gap: 0.35rem; }
  .lm-chip .ic { width: 22px; height: 22px; }
  .lm-chip .ic svg { width: 13px; height: 13px; }
  .lm-chip.k1 { left: 0; top: -38px; }
  .lm-chip.k2 { right: 0; top: -38px; }

  /* App chrome */
  .lm-frame { padding: 6px 6px 0; border-radius: 16px 16px 0 0; }
  .lm-app { border-radius: 12px 12px 0 0; }
  .lm-topbar { gap: 1rem; padding: 0.7rem 0.9rem; }
  .lm-logo { font-size: 0.85rem; }
  .lm-logo span { width: 22px; height: 22px; border-radius: 6px; }
  .lm-top-tools { gap: 0.7rem; }
  .lm-top-tools > svg:first-child, .lm-top-tools .hide-sm { display: none; }
  .lm-me { width: 26px; height: 26px; }

  .lm-board-head { padding: 0.9rem 0.9rem 0.7rem; }
  .lm-board-head h2 { font-size: 0.95rem; }
  .lm-team i, .lm-team b { width: 24px; height: 24px; }
  .lm-team i:nth-child(n+3) { display: none; }

  .lm-toolbar { gap: 0.5rem; padding: 0 0.9rem 0.8rem; }
  .lm-toolbar .lm-pill-src, .lm-toolbar .lm-seg { display: none; }
  .lm-search { min-width: 0; flex: 1; }

  /* Table → stacked lead rows */
  .lm-table-wrap { padding: 0 0.9rem; overflow: visible; }
  .lm-table, .lm-table tbody { display: block; }
  .lm-table { border-radius: 10px 10px 0 0; }
  .lm-table thead { display: none; }

  .lm-table tbody tr {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .lm-table tbody tr.sel { background-color: var(--brand-50); }
  .lm-table tbody tr.sel td { background-color: transparent; }

  .lm-table td { display: block; padding: 0; border: 0; }
  .lm-table td:nth-child(2) { flex: 1; min-width: 0; }
  .lm-table .c-cb, .lm-table .c-owner,
  .lm-table .c-act, .lm-table .c-more { display: none; }

  .lm-lead { min-width: 0; }
  .lm-lead > div { min-width: 0; }
  .lm-lead b, .lm-lead small { overflow: hidden; text-overflow: ellipsis; }

  .lm-table .c-src .lm-src em { display: none; }
  .lm-st { font-size: 0.62rem; padding: 0.18rem 0.5rem; }

  .lm-table-foot { padding: 0.7rem 0.75rem 0.9rem; font-size: 0.66rem; }
  .lm-table-foot .lm-pages span:nth-child(n+4):not(:last-child) { display: none; }

  /* What is lead management */
  .lm-what { padding: 3.75rem 0; }
  .lm-what-copy p { font-size: 0.96rem; }
  .lm-journey { padding: 0.9rem; }
  .lm-step { gap: 0.45rem; }
  .lm-step-ic { width: 34px; height: 34px; border-radius: 10px; }
  .lm-step-ic svg { width: 16px; height: 16px; }
  .lm-step small { display: none; }
  .lm-step b { font-size: 0.78rem; }
  .lm-step-line { margin: 0 0.5rem; }
  .lm-media { border-radius: 18px; aspect-ratio: 4 / 3; }
  .lm-media-chip { top: 0.7rem; left: 0.7rem; padding: 0.4rem 0.7rem 0.4rem 0.4rem; }
  .lm-media-chip.m2 { display: none; }
  .lm-cap { margin: -2.5rem 0.5rem 0; padding: 1.25rem; border-radius: 18px; }
  .lm-cap-list { grid-template-columns: 1fr; gap: 0.65rem; }
  .lm-cap-item { padding: 0.85rem; }
  .lm-what-cta { display: flex; margin-top: 1.6rem; }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .lm-chip.k1 { left: -4px; }
  .lm-chip.k2 { right: -4px; }
  .lm-add { padding: 0.45rem 0.6rem; }
  .lm-table-foot > span { max-width: 55%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .lm-anim { opacity: 1; transform: none; animation: none; }
  .lm-chip { animation: none; }
  .rv-on .lm-rv { opacity: 1; transform: none; transition: none; }
  .lm-cap-item, .lm-cap-ic, .lm-media img { transition: none; }
  .lm-media-chip { animation: none; }
}

/* ==================== HEADING BADGE (shared .ph-badge design) ==================== */
.ph-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700, #334155);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(15, 23, 42, 0.08));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ph-badge b {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb));
  border-radius: 999px;
}

/* ==================== SEO SECTIONS (page design) ==================== */
.kw-section, .alt-section, .rel-section {
  --kw-accent: #2563eb;
  --kw-accent-ink: color-mix(in srgb, #2563eb 82%, #000);
  --kw-tint: color-mix(in srgb, #2563eb 9%, #fff);
  --kw-tint-2: color-mix(in srgb, #2563eb 16%, #fff);
  --kw-ink: var(--ink-900, #0b1324);
  --kw-text: var(--ink-600, #475569);
  --kw-line: var(--line, #e6ebf2);
  position: relative;
  padding: 6rem 0;
  background-color: var(--surface, #fff);
}
.kw-inner, .rel-inner, .alt-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Badge: same pill as the page headers (ph-badge) */
.kw-badge {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 600;
  color: var(--ink-700, #334155); background-color: rgba(255, 255, 255, 0.85); border: 1px solid var(--kw-line);
  border-radius: 999px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06));
}
.kw-badge b {
  padding: 0.2rem 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb)); border-radius: 999px;
}

/* ---------- Keyword section: copy + product panel ---------- */
.kw-section .kw-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; align-items: center; }
.kw-section.kw-flip .kw-copy { order: 2; }
.kw-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; color: var(--kw-ink); }
.kw-lead { margin: 0 0 1.75rem; font-size: 1.05rem; line-height: 1.75; color: var(--kw-text); }
.kw-lead strong { color: var(--kw-ink); }
.kw-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.kw-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.kw-check { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; color: var(--kw-accent-ink); background: var(--kw-tint-2); border-radius: 8px; }
.kw-check svg { width: 15px; height: 15px; stroke-width: 3; }
.kw-item h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--kw-ink); }
.kw-item p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--kw-text); }
.kw-item a, .alt-card a { font-weight: 700; color: var(--kw-accent-ink); text-decoration: none; }

.kw-visual { position: relative; padding: 2rem 1rem 3rem; }
.kw-visual::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--kw-tint-2), transparent); filter: blur(10px); }
.kw-panel { position: relative; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 22px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-panel-head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--kw-accent), var(--kw-accent-ink)); }
.kw-panel-logo { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.18); border-radius: 11px; }
.kw-panel-logo svg { width: 19px; height: 19px; }
.kw-panel-head strong { display: block; font-size: 0.95rem; font-weight: 700; }
.kw-panel-head small { display: block; font-size: 0.72rem; opacity: 0.8; }
.kw-live { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--kw-accent-ink); background: #fff; border-radius: 999px; }
.kw-live i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.kw-ico { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: var(--kw-accent-ink); background: var(--kw-tint); border-radius: 10px; }
.kw-ico svg { width: 17px; height: 17px; }
.kw-panel-rows { margin: 0; padding: 0.4rem 0; list-style: none; }
.kw-panel-rows li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-rows li:last-child { border-bottom: 0; }
.kw-row-txt { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; color: var(--kw-ink); }
.kw-panel-rows em { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; font-style: normal; font-weight: 700; color: #15803d; }
.kw-panel-rows em svg { width: 13px; height: 13px; stroke-width: 3; }
.kw-panel-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 1.1rem; list-style: none; }
.kw-panel-tiles li { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; background: var(--surface-muted, #f7f9fc); border: 1px solid var(--line-soft, #f0f3f8); border-radius: 14px; }
.kw-panel-tiles b { font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: var(--kw-ink); }
.kw-panel-tiles em { width: fit-content; padding: 0.15rem 0.5rem; font-size: 0.68rem; font-style: normal; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 999px; }
.kw-panel-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; font-size: 0.75rem; color: var(--ink-500, #64748b); background: var(--surface-muted, #f7f9fc); border-top: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-foot b { color: var(--kw-accent-ink); }
.kw-toast { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 0.7rem; max-width: 280px; padding: 0.75rem 1rem 0.75rem 0.75rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-toast-ico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; color: #fff; background: linear-gradient(180deg, #22c55e, #16a34a); border-radius: 10px; }
.kw-toast-ico svg { width: 17px; height: 17px; stroke-width: 3; }
.kw-toast b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: var(--kw-ink); }
.kw-toast small { display: block; font-size: 0.72rem; color: var(--ink-500, #64748b); }

/* ---------- Related solutions: one rounded card with tinted link chips ---------- */
.rel-section { padding-top: 2rem; }
.rel-card { padding: 2.25rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 28px; box-shadow: 0 18px 50px -30px rgba(11, 19, 36, 0.25); }
.rel-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.rel-top .kw-badge { margin-bottom: 0.9rem; }
.rel-top h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--kw-ink); }
.rel-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--kw-ink); text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 12px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06)); transition: border-color 0.2s ease, color 0.2s ease; }
.rel-all:hover { color: var(--brand-600, #2563eb); border-color: var(--brand-600, #2563eb); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.rel-grid a { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 0.95rem 1rem; text-decoration: none; background: var(--kw-tint); border: 1px solid transparent; border-radius: 16px; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.rel-grid a:hover { background: var(--surface, #fff); border-color: color-mix(in srgb, var(--kw-accent) 40%, #fff); transform: translateY(-2px); }
.rel-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--kw-accent) 40%, transparent); outline-offset: 2px; }
.rel-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; color: var(--kw-accent-ink); background: var(--surface, #fff); border-radius: 12px; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); }
.rel-ico svg { width: 19px; height: 19px; }
.rel-txt { flex: 1; min-width: 0; }
.rel-txt strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--kw-ink); }
.rel-txt-desc { display: block; margin-top: 0.15rem; font-size: 0.8rem; line-height: 1.45; color: var(--kw-text); }
.rel-arrow { flex-shrink: 0; color: var(--kw-accent); transition: transform 0.2s ease; }
.rel-grid a:hover .rel-arrow { transform: translateX(3px); }

/* Breadcrumb in the hero, above the badge */
.crumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink-500, #64748b); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "›"; color: var(--ink-400, #94a3b8); }
.crumbs a { font-weight: 600; color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { font-weight: 600; color: #0b1324; }

/* Contextual links in body copy: no underline, keep the paragraph colour */
main p a.ctx-link { color: inherit; font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .kw-section .kw-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .kw-section.kw-flip .kw-copy { order: 0; }
  .kw-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kw-section, .rel-section, .alt-section { padding: 3.5rem 0; }
  .rel-section { padding-top: 1rem; }
  .kw-inner, .rel-inner, .alt-inner { padding: 0 1rem; }
  .kw-visual { padding: 1rem 0 3.5rem; }
  .kw-toast { left: 0.5rem; right: auto; }
  .rel-card { padding: 1.5rem 1.1rem; border-radius: 22px; }
  .rel-top { flex-direction: column; align-items: flex-start; }
  .rel-grid, .alt-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-card:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rel-grid a, .rel-arrow { transition: none; }
}
/* Hero badge sits inside the H1 (keyword first); keep it looking like the normal badge */
main h1 .ph-badge.h1-badge {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 1.4rem;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none;
  -webkit-text-fill-color: currentColor;
}
main h1 .ph-badge.h1-badge b { display: inline; }
main h1 .ph-badge.h1-badge b::before { content: attr(data-label); }
/* ==================== END SEO SECTIONS ==================== */
