/**
 * Multisarana HRIS — premium landing (Blade-only, no framework)
 * Prefix: lp- (landing premium)
 *
 * Spacing scale: 4px base (0.25rem steps for fine control; key sections use 8px rhythm)
 * Typography: hierarchy via size, weight, color (--lp-text-*), and max-width for readability
 */

:root {
  --lp-primary: #4f46e5;
  --lp-primary-hover: #4338ca;
  --lp-primary-soft: rgba(79, 70, 229, 0.08);
  --lp-accent: #0ea5e9;
  --lp-ink: #0f172a;
  --lp-ink-muted: #475569;
  --lp-border: rgba(15, 23, 42, 0.08);
  --lp-card: #ffffff;
  --lp-radius: 1rem;
  --lp-radius-lg: 1.25rem;
  --lp-radius-xl: 1.375rem;
  --lp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --lp-shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.03), 0 24px 48px rgba(15, 23, 42, 0.08);
  --lp-shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
  --lp-mesh: radial-gradient(ellipse 120% 80% at 100% -20%, rgba(79, 70, 229, 0.15), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(14, 165, 233, 0.1), transparent 45%);

  /* Text hierarchy (softer than pure slate-600 for “premium” body) */
  --lp-text-primary: #0f172a;
  --lp-text-secondary: #475569;
  --lp-text-tertiary: #64748b;
  --lp-text-subtle: #94a3b8;

  /* Spacing tokens */
  --lp-space-1: 0.25rem;
  --lp-space-2: 0.5rem;
  --lp-space-3: 0.75rem;
  --lp-space-4: 1rem;
  --lp-space-5: 1.25rem;
  --lp-space-6: 1.5rem;
  --lp-space-8: 2rem;
  --lp-space-10: 2.5rem;
  --lp-space-12: 3rem;
  --lp-space-16: 4rem;
  --lp-space-20: 5rem;
  --lp-space-24: 6rem;

  /* Section vertical rhythm */
  --lp-section-y: clamp(3.25rem, 8vw, 5rem);
  --lp-section-y-lg: clamp(4rem, 9vw, 6rem);

  /* Readable line lengths */
  --lp-max-prose: 38rem;
  --lp-max-prose-wide: 42rem;

  /* Line-height */
  --lp-leading-tight: 1.12;
  --lp-leading-snug: 1.25;
  --lp-leading-body: 1.65;
  --lp-leading-relaxed: 1.7;
}

.lp-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lp-space-5);
  padding-right: var(--lp-space-5);
}

@media (min-width: 640px) {
  .lp-container {
    padding-left: var(--lp-space-6);
    padding-right: var(--lp-space-6);
  }
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--lp-border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lp-space-5);
  padding: var(--lp-space-4) 0;
  min-height: 3.5rem;
}

@media (min-width: 768px) {
  .lp-nav__inner {
    padding: var(--lp-space-5) 0;
    gap: var(--lp-space-6);
  }
}

.lp-nav__center {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.lp-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--lp-space-3);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  color: var(--lp-text-primary);
  text-decoration: none;
}

@media (min-width: 768px) {
  .lp-nav__brand {
    font-size: 1.125rem;
  }
}

.lp-nav__brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--lp-primary), #6366f1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.lp-nav__links {
  display: flex;
  align-items: center;
  gap: var(--lp-space-1);
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}

.lp-nav__links::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .lp-nav__links {
    max-width: none;
    overflow: visible;
    gap: var(--lp-space-2);
    mask-image: none;
  }
}

.lp-nav__links a {
  padding: 0.5rem 0.8125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--lp-text-secondary);
  text-decoration: none;
  border-radius: 9999px;
  transition: color 0.15s, background 0.15s;
}

@media (min-width: 768px) {
  .lp-nav__links a {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
}

.lp-nav__links a:hover {
  color: var(--lp-text-primary);
  background: rgba(15, 23, 42, 0.045);
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--lp-space-3);
  flex-shrink: 0;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lp-space-2);
  min-height: 2.625rem;
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}

.lp-btn:active {
  transform: scale(0.98);
}

.lp-btn--ghost {
  border: 1px solid var(--lp-border);
  background: #fff;
  color: var(--lp-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-btn--ghost:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

.lp-btn--primary {
  background: linear-gradient(180deg, #6366f1 0%, var(--lp-primary) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.lp-btn--primary:hover {
  background: linear-gradient(180deg, #4f46e5 0%, var(--lp-primary-hover) 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.lp-btn--lg {
  min-height: 2.875rem;
  padding: 0.8125rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.lp-btn--nav-wa {
  display: none;
}

@media (min-width: 640px) {
  .lp-btn--nav-wa {
    display: inline-flex;
  }
}

/* ---------- Section shell ---------- */
.lp-section {
  scroll-margin-top: 5rem;
}

.lp-section__head {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--lp-space-12);
}

@media (min-width: 768px) {
  .lp-section__head {
    margin-bottom: var(--lp-space-16);
  }
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--lp-space-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin-bottom: var(--lp-space-3);
}

.lp-eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
}

.lp-h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--lp-text-primary);
  line-height: var(--lp-leading-snug);
}

.lp-sub {
  margin-top: var(--lp-space-4);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--lp-max-prose-wide);
  font-size: 1.0625rem;
  line-height: var(--lp-leading-body);
  color: var(--lp-text-secondary);
  font-weight: 400;
}

@media (min-width: 768px) {
  .lp-sub {
    margin-top: var(--lp-space-5);
  }
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  background: #fafbfc;
  background-image: var(--lp-mesh);
  border-bottom: 1px solid var(--lp-border);
}

.lp-hero__copy {
  min-width: 0;
  max-width: min(100%, var(--lp-max-prose-wide));
}

@media (min-width: 1024px) {
  .lp-hero__copy {
    max-width: none;
    padding-right: var(--lp-space-6);
  }
}

.lp-hero__grid {
  display: grid;
  gap: var(--lp-space-12);
  padding: var(--lp-section-y) 0 calc(var(--lp-section-y) + var(--lp-space-4));
  align-items: center;
}

@media (min-width: 640px) {
  .lp-hero__grid {
    gap: var(--lp-space-16);
  }
}

@media (min-width: 1024px) {
  .lp-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 4vw, 4.5rem);
    padding: var(--lp-section-y-lg) 0 calc(var(--lp-section-y-lg) + var(--lp-space-6));
    align-items: center;
  }
}

.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--lp-space-2);
  padding: var(--lp-space-2) var(--lp-space-4);
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--lp-border);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lp-text-secondary);
  box-shadow: var(--lp-shadow-card);
}

.lp-hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.lp-hero__title {
  margin-top: var(--lp-space-5);
  font-size: clamp(1.875rem, 4.8vw + 0.5rem, 3rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: var(--lp-leading-tight);
  color: var(--lp-text-primary);
  /* ~2–3 lines; keeps hierarchy without ultra-wide single line */
  max-width: min(100%, 22rem);
}

@media (min-width: 640px) {
  .lp-hero__title {
    max-width: min(100%, 26rem);
  }
}

.lp-hero__lead {
  margin-top: var(--lp-space-5);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: var(--lp-leading-relaxed);
  color: var(--lp-text-secondary);
  max-width: var(--lp-max-prose);
}

.lp-hero__bullets {
  margin-top: var(--lp-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--lp-space-3);
}

.lp-hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--lp-space-3);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--lp-text-primary);
}

.lp-hero__bullets svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--lp-primary);
}

.lp-hero__cta {
  margin-top: var(--lp-space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--lp-space-3);
}

@media (min-width: 640px) {
  .lp-hero__cta {
    gap: var(--lp-space-4);
  }
}

.lp-hero__note {
  margin-top: var(--lp-space-5);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--lp-text-subtle);
  max-width: var(--lp-max-prose);
}

/* ---------- Hero dashboard visual (premium mockup) ---------- */
.lp-hdv {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .lp-hdv {
    margin-right: 0;
    max-width: 28rem;
  }
}

.lp-hdv__ambient {
  position: absolute;
  inset: -12% -8% -8% -12%;
  border-radius: 2rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(160deg, #eef2ff 0%, #f8fafc 45%, #f1f5f9 100%);
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

.lp-hdv__floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.lp-hdv-float {
  position: absolute;
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: lp-hdv-float 5s ease-in-out infinite;
  white-space: nowrap;
}

.lp-hdv-float--tl {
  top: -0.35rem;
  left: -0.25rem;
  animation-delay: 0s;
}

.lp-hdv-float--tr {
  top: 1.25rem;
  right: -0.5rem;
  animation-delay: 1.2s;
}

.lp-hdv-float--br {
  bottom: 2.5rem;
  left: -0.15rem;
  animation-delay: 2.4s;
}

.lp-hdv-float--success {
  background: linear-gradient(180deg, #fff, #f0fdf4);
  color: #047857;
}

.lp-hdv-float--info {
  background: linear-gradient(180deg, #fff, #eff6ff);
  color: #1d4ed8;
}

.lp-hdv-float--neutral {
  background: linear-gradient(180deg, #fff, #faf5ff);
  color: #6d28d9;
}

@media (max-width: 639px) {
  .lp-hdv-float--tr {
    display: none;
  }

  .lp-hdv-float {
    font-size: 0.625rem;
    padding: 0.35rem 0.55rem;
  }

  .lp-hdv-float--br {
    bottom: 1.5rem;
  }
}

@keyframes lp-hdv-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hdv-float {
    animation: none;
  }
}

.lp-hdv__shell {
  position: relative;
  z-index: 1;
  border-radius: 1.15rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.lp-hdv__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.9);
}

.lp-hdv__dots {
  display: flex;
  gap: 0.35rem;
}

.lp-hdv__dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #e2e8f0;
}

.lp-hdv__dots span:nth-child(1) {
  background: #fb7185;
}

.lp-hdv__dots span:nth-child(2) {
  background: #fbbf24;
}

.lp-hdv__dots span:nth-child(3) {
  background: #34d399;
}

.lp-hdv__url {
  flex: 1;
  text-align: center;
  font-size: 0.625rem;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.lp-hdv__body {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.5rem;
  padding: 0.65rem;
}

.lp-hdv__rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem 0.2rem;
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-radius: 0.5rem;
}

.lp-hdv__rail-i {
  height: 1.5rem;
  border-radius: 0.35rem;
  background: #cbd5e1;
  opacity: 0.55;
}

.lp-hdv__rail-i--active {
  opacity: 1;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.35));
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.lp-hdv__main {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

/* Stat cards row */
.lp-hdv__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

@media (min-width: 400px) {
  .lp-hdv__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-hdv-stat {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.4rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.lp-hdv-stat__icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-hdv-stat--violet .lp-hdv-stat__icon {
  background: rgba(99, 102, 241, 0.14);
  color: #4f46e5;
}

.lp-hdv-stat--emerald .lp-hdv-stat__icon {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

.lp-hdv-stat--amber .lp-hdv-stat__icon {
  background: rgba(245, 158, 11, 0.16);
  color: #d97706;
}

.lp-hdv-stat--sky .lp-hdv-stat__icon {
  background: rgba(14, 165, 233, 0.14);
  color: #0284c7;
}

.lp-hdv-stat__body {
  min-width: 0;
}

.lp-hdv-stat__label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  line-height: 1.2;
}

.lp-hdv-stat__value {
  margin-top: 0.1rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  line-height: 1.15;
}

.lp-hdv-stat__trend {
  margin-top: 0.1rem;
  font-size: 0.5rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.lp-hdv-stat--emerald .lp-hdv-stat__trend {
  color: #059669;
}

/* Widget shell */
.lp-hdv-widget {
  border-radius: 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  padding: 0.5rem 0.55rem;
}

.lp-hdv-widget__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.lp-hdv-widget__title {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--lp-ink);
  letter-spacing: -0.01em;
}

.lp-hdv-widget__meta {
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
}

/* Bar chart */
.lp-hdv-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.25rem;
  height: 4.25rem;
  padding: 0.25rem 0 0;
}

.lp-hdv-chart__col {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.lp-hdv-chart__bar {
  width: 100%;
  max-width: 1.35rem;
  border-radius: 0.2rem 0.2rem 0 0;
  background: linear-gradient(180deg, #a5b4fc 0%, #6366f1 55%, #4f46e5 100%);
  opacity: 0.92;
  min-height: 12%;
}

.lp-hdv-chart__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
}

.lp-hdv-chart__labels span {
  flex: 1;
  text-align: center;
}

/* Table */
.lp-hdv-table {
  font-size: 0.5625rem;
}

.lp-hdv-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.25rem;
  border-radius: 0.35rem;
}

.lp-hdv-table__row--head {
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.5rem;
  padding-bottom: 0.2rem;
}

.lp-hdv-table__row:not(.lp-hdv-table__row--head) {
  background: rgba(248, 250, 252, 0.9);
  margin-bottom: 0.25rem;
}

.lp-hdv-table__row:not(.lp-hdv-table__row--head):last-child {
  margin-bottom: 0;
}

.lp-hdv-pill {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-size: 0.5rem;
  font-weight: 800;
}

.lp-hdv-pill--ok {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.lp-hdv-pill--leave {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

/* ---------- Social proof (below hero) ---------- */
.lp-sp {
  padding: var(--lp-space-10) 0 var(--lp-space-12);
  background: #fff;
  /* Top edge: hero already has border-bottom; only separate from section below */
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .lp-sp {
    padding: var(--lp-space-12) 0 var(--lp-space-16);
  }
}

.lp-sp__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lp-sp__label {
  margin: 0 0 var(--lp-space-8);
  max-width: 28rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--lp-text-tertiary);
}

@media (min-width: 640px) {
  .lp-sp__label {
    margin-bottom: var(--lp-space-10);
  }
}

.lp-sp-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: var(--lp-space-4) var(--lp-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 56rem;
}

.lp-sp-logos__item {
  flex: 0 1 auto;
}

.lp-sp-logos__cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lp-space-3);
  min-height: 2.5rem;
  height: 100%;
  padding: var(--lp-space-3) var(--lp-space-4);
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.85);
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lp-sp-logos__cell:hover {
    opacity: 1;
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.1);
  }
}

.lp-sp-logos__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(15, 23, 42, 0.05);
  filter: grayscale(1);
}

.lp-sp-logos__name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
  white-space: nowrap;
  filter: grayscale(1);
}

@media (max-width: 639px) {
  .lp-sp-logos__name {
    font-size: 0.75rem;
  }

  .lp-sp-logos__cell {
    min-height: 2.25rem;
    padding: var(--lp-space-2) var(--lp-space-3);
  }

  .lp-sp-logos__mark {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.5rem;
  }
}

.lp-sp-logos__img {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 639px) {
  .lp-sp-logos__img {
    height: 1.5rem;
    max-width: 5.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .lp-sp-logos__cell:hover .lp-sp-logos__img {
    opacity: 0.9;
    transform: scale(1.02);
  }

  .lp-sp-logos__cell:hover .lp-sp-logos__mark,
  .lp-sp-logos__cell:hover .lp-sp-logos__name {
    opacity: 1;
    filter: grayscale(0.85);
  }
}

.lp-sp-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--lp-space-3);
  list-style: none;
  margin: var(--lp-space-10) 0 0;
  padding: 0;
}

@media (min-width: 640px) {
  .lp-sp-metrics {
    gap: var(--lp-space-4);
    margin-top: var(--lp-space-12);
  }
}

.lp-sp-metric {
  display: inline-flex;
  align-items: center;
  gap: var(--lp-space-2);
  padding: var(--lp-space-2) var(--lp-space-4);
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--lp-text-tertiary);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .lp-sp-metric {
    font-size: 0.8125rem;
    padding: var(--lp-space-3) var(--lp-space-5);
  }
}

.lp-sp-metric__icon {
  flex-shrink: 0;
  color: #94a3b8;
  opacity: 0.95;
}

.lp-sp-metric__text {
  text-align: left;
}

/* ---------- Problems / Solutions cards ---------- */
.lp-cards {
  display: grid;
  gap: var(--lp-space-4);
}

@media (min-width: 640px) {
  .lp-cards {
    gap: var(--lp-space-5);
  }
}

@media (min-width: 640px) {
  .lp-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-card {
  border-radius: var(--lp-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--lp-card);
  padding: var(--lp-space-6) var(--lp-space-6);
  box-shadow: var(--lp-shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lg);
  border-color: rgba(15, 23, 42, 0.08);
}

.lp-card--problem {
  border-left: 3px solid #f43f5e;
}

.lp-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--lp-space-4);
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #e11d48;
}

.lp-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lp-text-primary);
  letter-spacing: -0.022em;
  line-height: var(--lp-leading-snug);
}

.lp-card__text {
  margin-top: var(--lp-space-2);
  font-size: 0.9375rem;
  line-height: var(--lp-leading-body);
  color: var(--lp-text-secondary);
}

.lp-card--feature .lp-card__icon {
  background: linear-gradient(135deg, var(--lp-primary-soft), rgba(14, 165, 233, 0.12));
  color: var(--lp-primary);
}

/* ---------- Benefits grid ---------- */
.lp-benefits {
  display: grid;
  gap: var(--lp-space-4);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .lp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-benefit {
  display: flex;
  gap: var(--lp-space-4);
  align-items: flex-start;
  padding: var(--lp-space-5) var(--lp-space-6);
  border-radius: var(--lp-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: var(--lp-shadow-card);
}

.lp-benefit > div {
  font-size: 0.9375rem;
  line-height: var(--lp-leading-body);
  color: var(--lp-text-secondary);
}

.lp-benefit strong {
  color: var(--lp-text-primary);
  font-weight: 700;
}

.lp-benefit__check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Demo ---------- */
.lp-demo-panel {
  border-radius: var(--lp-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--lp-shadow-card);
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.lp-demo-panel__inner {
  aspect-ratio: 16/9;
  max-height: 22rem;
  display: flex;
  align-items: stretch;
}

.lp-demo-sidebar-fake {
  width: 18%;
  min-width: 3rem;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  opacity: 0.92;
}

.lp-demo-main-fake {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-demo-rows {
  display: flex;
  gap: 0.5rem;
}

.lp-demo-rows span {
  height: 0.5rem;
  border-radius: 9999px;
  background: #e2e8f0;
}

.lp-demo-rows span:nth-child(1) {
  width: 40%;
}

.lp-demo-rows span:nth-child(2) {
  width: 25%;
}

.lp-demo-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.lp-demo-tile {
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
}

/* ---------- Lead form ---------- */
.lp-form-wrap {
  max-width: 28rem;
  margin: 0 auto;
}

.lp-input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-input:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px var(--lp-primary-soft);
}

.lp-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

/* ---------- Pricing ---------- */
.lp-price-grid {
  display: grid;
  gap: var(--lp-space-6);
}

@media (min-width: 1024px) {
  .lp-price-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.lp-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--lp-space-10) var(--lp-space-8);
  border-radius: var(--lp-radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  box-shadow: var(--lp-shadow-card);
}

.lp-price--featured {
  border-color: rgba(79, 70, 229, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  box-shadow: var(--lp-shadow-lg);
  transform: scale(1.02);
  z-index: 1;
  padding-top: 2.875rem;
}

@media (max-width: 1023px) {
  .lp-price--featured {
    transform: none;
  }
}

.lp-price__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(135deg, var(--lp-primary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.lp-price__name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--lp-text-primary);
  letter-spacing: -0.02em;
}

.lp-price__amount-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--lp-space-2);
  margin-top: var(--lp-space-3);
}

.lp-price__amt {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-text-primary);
  line-height: 1;
}

.lp-price__period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-text-tertiary);
  white-space: nowrap;
}

.lp-price__desc {
  margin: var(--lp-space-4) 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--lp-text-secondary);
}

.lp-price__hint {
  margin-top: var(--lp-space-2);
  font-size: 0.8125rem;
  color: var(--lp-text-subtle);
  line-height: 1.45;
}

.lp-price__list {
  margin-top: var(--lp-space-5);
  flex: 1;
  list-style: none;
  padding: 0;
}

.lp-price__list li {
  position: relative;
  padding-left: var(--lp-space-5);
  margin-bottom: var(--lp-space-3);
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
  line-height: 1.55;
}

.lp-price__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-primary);
  font-weight: 800;
  font-size: 0.75rem;
}

.lp-price__actions {
  margin-top: var(--lp-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--lp-space-3);
}

/* Trust microcopy below pricing grid */
.lp-pricing-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--lp-space-2) var(--lp-space-6);
  list-style: none;
  margin: var(--lp-space-12) 0 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--lp-text-tertiary);
}

.lp-pricing-trust__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--lp-space-2);
}

.lp-pricing-trust__item:not(:last-child)::after {
  content: "";
  display: none;
}

@media (min-width: 640px) {
  .lp-pricing-trust__item:not(:last-child)::after {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    margin-left: var(--lp-space-6);
    background: #cbd5e1;
  }
}

.lp-btn--block {
  width: 100%;
}

.lp-btn--outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.lp-btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lp-btn--light {
  background: #fff;
  color: var(--lp-primary);
  font-weight: 700;
}

.lp-btn--light:hover {
  background: #f8fafc;
}

/* ---------- Final CTA ---------- */
.lp-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  padding: var(--lp-section-y-lg) 0;
}

.lp-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79, 70, 229, 0.35), transparent 55%);
  pointer-events: none;
}

.lp-final__inner {
  position: relative;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 var(--lp-space-2);
}

.lp-final h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: var(--lp-leading-snug);
  color: #fff;
}

.lp-final p {
  margin-top: var(--lp-space-4);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--lp-max-prose);
  font-size: 1.0625rem;
  color: #cbd5e1;
  line-height: var(--lp-leading-body);
}

.lp-final__cta {
  margin-top: var(--lp-space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--lp-space-3);
}

@media (min-width: 640px) {
  .lp-final__cta {
    gap: var(--lp-space-4);
  }
}

/* ---------- Footer ---------- */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  background: #fff;
  padding: var(--lp-space-10) 0;
}

.lp-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #94a3b8;
}

@media (min-width: 640px) {
  .lp-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.lp-footer a {
  color: var(--lp-primary);
  font-weight: 600;
  text-decoration: none;
}

.lp-footer a:hover {
  text-decoration: underline;
}

/* ---------- Surfaces ---------- */
.lp-surface-muted {
  background: #f8fafc;
}

.lp-surface-white {
  background: #fff;
}

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

@media (min-width: 768px) {
  .lp-section-pad {
    padding: var(--lp-section-y-lg) 0;
  }
}

/* ---------- Mobile typography & rhythm ---------- */
@media (max-width: 639px) {
  .lp-hero__grid {
    gap: var(--lp-space-10);
    padding-top: calc(var(--lp-section-y) - var(--lp-space-2));
    padding-bottom: calc(var(--lp-section-y) + var(--lp-space-2));
  }

  .lp-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .lp-section__head {
    margin-bottom: var(--lp-space-10);
  }

  .lp-h2 {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .lp-sub {
    font-size: 1rem;
  }
}
