/* White-label home: v0 classic; v1 Spectrum; v2 Clarity; v3 Momentum; v4 Summit (html[data-landing]). */

.wl-legacy-index {
  display: none !important;
}

html[data-landing="v0"] .wl-index {
  display: none !important;
}

html[data-landing="v0"] .wl-legacy-index {
  display: block !important;
}

.wl-index {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.wl-index img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* One cartoon illustration per template (stacked <img>, toggled by data-landing). */
.wl-illu-stack .wl-illu {
  display: none;
  width: 100%;
  height: auto;
  max-height: min(420px, 55vh);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.wl-split-inner .wl-illu-stack .wl-illu,
.wl-mobile-inner .wl-illu-stack .wl-illu {
  max-height: min(360px, 48vh);
  margin: 0 auto;
}

html[data-landing="v1"] .wl-illu-stack .wl-illu-v1,
html[data-landing="v2"] .wl-illu-stack .wl-illu-v2,
html[data-landing="v3"] .wl-illu-stack .wl-illu-v3,
html[data-landing="v4"] .wl-illu-stack .wl-illu-v4,
html:not([data-landing]) .wl-illu-stack .wl-illu-v1 {
  display: block;
}

.wl-index .wl-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--blue, #0f2368);
}

.wl-index .wl-lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--wl-muted, #4b5563);
  max-width: 36em;
}

.wl-index .wl-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--blue, #0f2368);
  text-align: center;
}

.wl-index .wl-section-sub {
  text-align: center;
  color: var(--wl-muted, #6b7280);
  font-size: 1.05rem;
  max-width: 42em;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* Optional blocks (shown per template) */
.wl-tpl-search-ui,
.wl-tpl-kicker,
.wl-tpl-trust-chips {
  display: none;
}

/* ——— Hero ——— */
.wl-hero-block {
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px);
  background: var(--panel, var(--card, #fff));
  border-radius: 0;
  position: relative;
}

.wl-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.wl-hero-copy {
  grid-column: 1;
  grid-row: 1;
}

/* Hero: same three pillars on every modern landing (v1–v4 + default) */
.wl-hero-feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 18px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.wl-hero-feat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(15, 23, 42, 0.14));
  background: color-mix(in srgb, var(--panel, #ffffff) 90%, var(--yellow, #f4b400));
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--wl-body, #1f2937);
}

.wl-hero-feat strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.wl-hero-feat-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wl-muted, #6b7280);
  line-height: 1.4;
}

@supports not (background: color-mix(in srgb, red, red)) {
  .wl-hero-feat {
    background: var(--panel, #ffffff);
  }
}

@media (max-width: 720px) {
  .wl-hero-feature-trio {
    grid-template-columns: 1fr;
  }
}

[data-landing="v1"] .wl-hero-feat,
html:not([data-landing]) .wl-hero-feat {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(168, 85, 247, 0.28);
  box-shadow: 0 8px 22px rgba(91, 33, 182, 0.08);
}

[data-landing="v2"] .wl-hero-feat {
  background: #fff;
  border-color: var(--line, #e5e7eb);
}

[data-landing="v3"] .wl-hero-feat {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.38);
  color: #e2e8f0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

[data-landing="v3"] .wl-hero-feat strong {
  color: #fff;
}

[data-landing="v3"] .wl-hero-feat-sub {
  color: #94a3b8;
}

[data-landing="v4"] .wl-hero-copy .wl-hero-feature-trio {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

[data-landing="v4"] .wl-hero-feat {
  background: rgba(255, 255, 255, 0.96);
  border-color: #b8d9f0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(3, 45, 96, 0.06);
}

[data-landing="v4"] .wl-hero-feat strong {
  color: #032d60;
}

[data-landing="v4"] .wl-hero-feat-sub {
  color: #3e3e3c;
}

.wl-legacy-index .wl-legacy-hero-trio {
  max-width: 920px;
  margin: 12px auto 20px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  box-sizing: border-box;
}

.wl-legacy-index .wl-legacy-hero-feat {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--blue, #0f2368);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: #111;
}

.wl-legacy-index .wl-legacy-hero-feat strong {
  display: block;
  color: var(--blue, #0f2368);
  margin-bottom: 4px;
}

.wl-legacy-index .wl-legacy-hero-feat span {
  display: block;
  font-size: 12px;
  color: #374151;
}

@media (max-width: 900px) {
  .wl-legacy-index .wl-legacy-hero-trio {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.wl-hero-visual {
  grid-column: 2;
  grid-row: 1;
}

.wl-hero-visual .wl-illu-stack {
  width: 100%;
}

/* Magic AI–style energy on hero art (gradient border + drifting light, like wizard “working”) */
@keyframes wl-magic-sparkle-drift {
  0%,
  100% {
    opacity: 0.48;
    transform: translate(0, 0);
  }
  33% {
    opacity: 0.82;
    transform: translate(6px, -5px);
  }
  66% {
    opacity: 0.55;
    transform: translate(-5px, 4px);
  }
}

@keyframes wl-magic-illus-glow {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5), 0 20px 48px rgba(124, 58, 237, 0.26);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.58), 0 22px 52px rgba(236, 72, 153, 0.24);
  }
  70% {
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.48), 0 20px 46px rgba(99, 102, 241, 0.28);
  }
}

.wl-magic-hero-visual {
  position: relative;
  isolation: isolate;
}

.wl-magic-illus-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.wl-magic-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.26) 0%, transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(250, 204, 21, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 52% 8%, rgba(196, 181, 253, 0.2) 0%, transparent 36%);
  mix-blend-mode: screen;
  opacity: 0.52;
  z-index: 2;
}

.wl-magic-illus-frame .wl-illu-stack {
  width: 100%;
}

.wl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ——— Feature grid ——— */
.wl-features-block {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px);
  background: var(--bg, #f8fafc);
}

.wl-feature-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px 20px;
}

.wl-feature-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--panel, #fff);
  border: 1px solid var(--line, rgba(15, 23, 42, 0.12));
  border-radius: 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--wl-body, #1f2937);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.wl-feature-grid .wl-feat-ic {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--yellow, #f4b400), var(--yellow2, #f6d84e));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

/* ——— Split band ——— */
.wl-split-block {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px);
  background: var(--panel, #fff);
}

.wl-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.wl-split-inner img {
  max-height: 380px;
  object-fit: cover;
  width: 100%;
}

.wl-split-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--blue, #0f2368);
}

.wl-split-copy p {
  margin: 0;
  line-height: 1.6;
  color: var(--wl-muted, #4b5563);
}

/* ——— Stats ——— */
.wl-stats-block {
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 32px);
  background: linear-gradient(135deg, var(--yellow, #f4b400), var(--yellow2, #f6d84e));
}

.wl-stats-row {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}

.wl-stat-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #111;
  letter-spacing: -0.02em;
}

.wl-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 4px;
}

/* ——— Integrations ——— */
.wl-integrations-band {
  padding: clamp(36px, 5.5vw, 64px) clamp(16px, 4vw, 32px);
  background: var(--bg, #f1f5f9);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.wl-integ-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.wl-integ-partners {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
  align-items: center;
}

.wl-integ-partners li {
  margin: 0;
}

.wl-integ-logo {
  display: block;
  line-height: 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wl-integ-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.wl-integ-partners img,
.wl-legacy-integ-logos img {
  width: auto;
  height: 40px;
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.wl-integ-cta {
  text-align: center;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.wl-integ-cta a {
  color: var(--blue, #0f2368);
  text-decoration: none;
  border-bottom: 2px solid rgba(212, 168, 0, 0.55);
}

.wl-integ-cta a:hover {
  color: #111827;
}

.wl-legacy-index .wl-legacy-integ-logos {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  align-items: center;
}

.wl-legacy-index .wl-legacy-integ-logos a {
  display: block;
  line-height: 0;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ——— Mobile / apps ——— */
.wl-mobile-block {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px);
  background: var(--bg, #f3f4f6);
}

.wl-mobile-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.wl-mobile-inner img {
  max-height: 400px;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.wl-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wl-check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  font-size: 1.05rem;
  color: var(--wl-body, #1f2937);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wl-check-list li:last-child {
  border-bottom: none;
}

.wl-check-list .tick {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

/* ——— Footer CTA ——— */
.wl-footer-cta {
  text-align: center;
  padding: 36px 20px 48px;
  background: var(--panel, #fff);
}

.wl-footer-cta .signup-btn {
  min-width: 260px;
}

.wl-copyright-bar {
  font-size: 13px;
  color: var(--wl-muted, #6b7280);
  padding: 16px;
  text-align: center;
  background: var(--bg, #f9fafb);
}

/* ========== v1 — Spectrum (playful gradients, soft cards) ========== */
[data-landing="v1"] .wl-index .wl-h1 {
  background: linear-gradient(120deg, #5b21b6, #db2777, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-landing="v1"] .wl-hero-block {
  background: linear-gradient(145deg, #fff7ed 0%, #fce7f3 38%, #e0f2fe 78%, #ecfccb 100%);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

[data-landing="v1"] .wl-hero-block::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -100px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

[data-landing="v1"] .wl-hero-visual .wl-illu-stack .wl-illu {
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(91, 33, 182, 0.18);
}

[data-landing="v1"] .wl-features-block {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 50%);
}

[data-landing="v1"] .wl-feature-grid li {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #fff;
}

[data-landing="v1"] .wl-feature-grid li:nth-child(3n + 1) {
  border-left: 4px solid #a855f7;
}

[data-landing="v1"] .wl-feature-grid li:nth-child(3n + 2) {
  border-left: 4px solid #ec4899;
}

[data-landing="v1"] .wl-feature-grid li:nth-child(3n) {
  border-left: 4px solid #06b6d4;
}

[data-landing="v1"] .wl-feature-grid .wl-feat-ic {
  border-radius: 12px;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  color: #fff;
}

[data-landing="v1"] .wl-split-block {
  background: linear-gradient(90deg, #fdf4ff, #fff);
}

[data-landing="v1"] .wl-stats-block {
  background: linear-gradient(110deg, #ddd6fe, #fbcfe8, #a5f3fc);
}

[data-landing="v1"] .wl-mobile-block {
  background: #f5f3ff;
}

[data-landing="v1"] .wl-integrations-band {
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
  border-top-color: rgba(168, 85, 247, 0.2);
  border-bottom-color: rgba(168, 85, 247, 0.2);
}

[data-landing="v1"] .wl-footer-cta {
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
}

[data-landing="v1"] .wl-index .signup-btn {
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

/* ========== v2 — Clarity (unified search feel, calm) ========== */
[data-landing="v2"] .wl-tpl-search-ui {
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
}

[data-landing="v2"] .wl-tpl-search-bar {
  max-width: 420px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  font-size: 0.95rem;
  color: #6b7280;
}

[data-landing="v2"] .wl-tpl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

[data-landing="v2"] .wl-tpl-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

[data-landing="v2"] .wl-hero-block {
  /* Match tenant surface so dark presets get a dark band; light themes keep a soft neutral. */
  background: var(--wl-surface, #f9fafb);
  border-bottom: 1px solid var(--line, #e5e7eb);
}

[data-landing="v2"] .wl-index .wl-hero-block .wl-h1,
[data-landing="v2"] .wl-index .wl-hero-block .wl-h1.logo-word {
  color: var(--wl-hero-copy-fg, var(--blue, #111827)) !important;
  letter-spacing: -0.04em;
}

[data-landing="v2"] .wl-index .wl-hero-block .wl-lead,
[data-landing="v2"] .wl-index .wl-hero-block .tagline {
  color: var(--wl-hero-copy-muted, var(--wl-muted, #4b5563)) !important;
}

[data-landing="v2"] .wl-hero-visual .wl-illu-stack .wl-illu {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

[data-landing="v2"] .wl-features-block {
  background: #fff;
}

[data-landing="v2"] .wl-feature-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

[data-landing="v2"] .wl-feature-grid li {
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  box-shadow: none;
  background: #fafafa;
}

[data-landing="v2"] .wl-feature-grid .wl-feat-ic {
  background: #111827;
  color: #fff;
}

[data-landing="v2"] .wl-split-block {
  background: var(--bg, #f9fafb);
}

[data-landing="v2"] .wl-stats-block {
  background: #111827;
}

[data-landing="v2"] .wl-stats-block .wl-stat-num,
[data-landing="v2"] .wl-stats-block .wl-stat-label {
  color: #f9fafb;
}

[data-landing="v2"] .wl-stats-block .wl-stat-label {
  opacity: 0.85;
}

[data-landing="v2"] .wl-mobile-block {
  background: #fff;
}

[data-landing="v2"] .wl-integrations-band {
  background: #fafafa;
  border-top-color: var(--line, #e5e7eb);
  border-bottom-color: var(--line, #e5e7eb);
}

[data-landing="v2"] .wl-copyright-bar {
  background: var(--bg, #f9fafb);
}

[data-landing="v1"] .wl-tpl-kicker,
html:not([data-landing]) .wl-tpl-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5b21b6;
  margin-bottom: 10px;
}

[data-landing="v2"] .wl-tpl-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue, #111827);
  margin-bottom: 10px;
}

[data-landing="v4"] .wl-tpl-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #032d60;
  margin-bottom: 12px;
}

/* ========== v3 — Momentum (dark bands, high energy) ========== */
[data-landing="v3"] .wl-tpl-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #22c55e;
  margin-bottom: 10px;
}

[data-landing="v3"] .wl-hero-block {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding-top: clamp(40px, 8vw, 72px);
  padding-bottom: clamp(40px, 8vw, 72px);
}

[data-landing="v3"] .wl-hero-inner {
  grid-template-columns: 1fr 1fr;
}

[data-landing="v3"] .wl-index .wl-hero-block .wl-h1,
[data-landing="v3"] .wl-index .wl-hero-block .wl-h1.logo-word {
  color: #fff !important;
}

[data-landing="v3"] .wl-index .wl-hero-block .wl-lead,
[data-landing="v3"] .wl-index .wl-hero-block .tagline {
  color: #cbd5e1 !important;
}

[data-landing="v3"] .wl-hero-visual .wl-illu-stack .wl-illu {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

[data-landing="v3"] .wl-index .signup-btn {
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  border-color: #15803d !important;
  color: #fff !important;
}

[data-landing="v3"] .wl-features-block {
  background: #0b1220;
}

[data-landing="v3"] .wl-index .wl-features-block .wl-section-title {
  color: #f8fafc !important;
}

[data-landing="v3"] .wl-index .wl-features-block .wl-section-sub {
  color: #94a3b8 !important;
}

[data-landing="v3"] .wl-feature-grid li {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

[data-landing="v3"] .wl-feature-grid .wl-feat-ic {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #fff;
}

[data-landing="v3"] .wl-split-block {
  background: #fff;
}

[data-landing="v3"] .wl-stats-block {
  background: linear-gradient(90deg, #0f172a, #14532d);
}

[data-landing="v3"] .wl-stats-block .wl-stat-num {
  color: #4ade80;
}

[data-landing="v3"] .wl-stats-block .wl-stat-label {
  color: #e2e8f0;
}

[data-landing="v3"] .wl-integrations-band {
  background: #e2e8f0;
  border-top-color: rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-landing="v3"] .wl-mobile-block {
  background: #f1f5f9;
}

[data-landing="v3"] .wl-footer-cta {
  background: #0f172a;
}

[data-landing="v3"] .wl-footer-cta .signup-btn {
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  color: #fff !important;
  border-color: transparent !important;
}

[data-landing="v3"] .wl-copyright-bar {
  background: #020617;
  color: #94a3b8;
}

/* ========== v4 — Summit (enterprise blue, trust) ========== */
[data-landing="v4"] .wl-tpl-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  margin-bottom: 4px;
}

[data-landing="v4"] .wl-tpl-trust-chips span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

[data-landing="v4"] .wl-hero-block {
  background: linear-gradient(105deg, #032d60 0%, #0176d3 55%, #0b5cab 100%);
  padding-top: clamp(48px, 9vw, 88px);
  padding-bottom: clamp(48px, 9vw, 88px);
}

[data-landing="v4"] .wl-hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

[data-landing="v4"] .wl-hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 820px;
}

[data-landing="v4"] .wl-hero-visual {
  grid-column: 1;
  grid-row: 2;
  max-width: min(520px, 100%);
  margin-top: 8px;
}

[data-landing="v4"] .wl-hero-visual .wl-illu-stack .wl-illu {
  box-shadow: 0 24px 48px rgba(3, 45, 96, 0.2);
}

[data-landing="v4"] .wl-index .wl-hero-block .wl-h1,
[data-landing="v4"] .wl-index .wl-hero-block .wl-h1.logo-word {
  color: #fff !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

[data-landing="v4"] .wl-index .wl-hero-block .wl-lead,
[data-landing="v4"] .wl-index .wl-hero-block .tagline {
  color: rgba(255, 255, 255, 0.92) !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

[data-landing="v4"] .wl-hero-ctas {
  justify-content: center;
}

[data-landing="v4"] .wl-index .signup-btn {
  background: #fff !important;
  color: #032d60 !important;
  border: 2px solid #fff !important;
  font-weight: 800;
}

[data-landing="v4"] .wl-index {
  display: flex;
  flex-direction: column;
}

[data-landing="v4"] .wl-stats-block {
  order: 1;
  margin: 0;
  background: #f4f6f9;
  border-bottom: 3px solid #0176d3;
}

[data-landing="v4"] .wl-stats-block .wl-stat-num {
  color: #032d60;
}

[data-landing="v4"] .wl-stats-block .wl-stat-label {
  color: #3e3e3c;
}

[data-landing="v4"] .wl-hero-block {
  order: 2;
}

[data-landing="v4"] .wl-features-block {
  order: 3;
  background: #fff;
}

[data-landing="v4"] .wl-feature-grid li {
  border-radius: 4px;
  border: 1px solid #dddbda;
  box-shadow: none;
  border-left: 4px solid #0176d3;
}

[data-landing="v4"] .wl-feature-grid .wl-feat-ic {
  border-radius: 4px;
  background: #0176d3;
  color: #fff;
}

[data-landing="v4"] .wl-split-block {
  order: 4;
  background: #f4f6f9;
}

[data-landing="v4"] .wl-integrations-band {
  order: 5;
  margin: 0;
  background: #fff;
  border-top: 1px solid #dddbda;
  border-bottom: 1px solid #dddbda;
}

[data-landing="v4"] .wl-integ-cta a {
  color: #032d60;
  border-bottom-color: rgba(1, 118, 211, 0.45);
}

[data-landing="v4"] .wl-mobile-block {
  order: 6;
  background: #fff;
  border-top: none;
}

[data-landing="v4"] .wl-footer-cta {
  order: 7;
}

[data-landing="v4"] .wl-copyright-bar {
  order: 8;
}

/* ——— First three features: spotlight (sending text messages, auto-replies, AI Agent Call + Magic AI follow-up) ——— */
.wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  position: relative;
  padding: 18px 20px;
  border-width: 2px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--yellow, #f4b400) 50%, var(--line, #cbd5e1));
  box-shadow:
    0 14px 38px rgba(15, 23, 42, 0.1),
    0 0 0 1px color-mix(in srgb, var(--yellow, #f4b400) 18%, transparent);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--yellow, #f4b400) 12%, var(--panel, #ffffff)) 0%,
    var(--panel, #ffffff) 55%,
    var(--panel, #ffffff) 100%
  );
  z-index: 1;
}

.wl-index .wl-feature-grid > li:nth-child(-n + 3) .wl-feat-ic {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.wl-index .wl-feature-grid > li:nth-child(-n + 3) strong {
  font-size: 1.045em;
  letter-spacing: -0.015em;
}

@supports not (border-color: color-mix(in srgb, red, red)) {
  .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
    border-color: var(--yellow, #f4b400);
    background: var(--panel, #ffffff);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
  }
}

[data-landing="v1"] .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  border: none;
  border-left-width: 6px;
  border-left-style: solid;
  border-left-color: #a855f7;
  box-shadow: 0 16px 40px rgba(91, 33, 182, 0.14);
  transform: translateY(-2px);
  background: #fff;
}

[data-landing="v1"] .wl-index .wl-feature-grid > li:nth-child(2) {
  border-left-color: #ec4899;
}

[data-landing="v1"] .wl-index .wl-feature-grid > li:nth-child(3) {
  border-left-color: #06b6d4;
}

[data-landing="v2"] .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--line, #e5e7eb) 80%, var(--yellow, #111827));
  border-left-width: 5px;
  border-left-color: var(--yellow, #111827);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

[data-landing="v3"] .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.45);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.42);
  color: #f1f5f9;
  transform: translateY(-2px);
}

[data-landing="v3"] .wl-index .wl-feature-grid > li:nth-child(-n + 3) strong {
  color: #fff;
}

[data-landing="v4"] .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  border: 1px solid #b8d9f0;
  border-left-width: 6px;
  border-left-color: #0176d3;
  box-shadow: 0 10px 28px rgba(3, 45, 96, 0.1);
  background: linear-gradient(180deg, #f7fbff 0%, #fff 70%);
  transform: translateY(-1px);
}

html:not([data-landing]) .wl-index .wl-feature-grid > li:nth-child(-n + 3) {
  border-color: color-mix(in srgb, #7c3aed 35%, #e5e7eb);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.12);
}

/* v0 classic layout — first three bullets in “Everything included” */
.wl-legacy-index .wl-legacy-all-features > li:nth-child(-n + 3) {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  border: 2px solid var(--blue, #0f2368);
  box-shadow: 0 8px 22px rgba(15, 35, 104, 0.12);
}

.wl-legacy-index .wl-legacy-all-features > li:nth-child(-n + 3) .tick {
  box-shadow: 0 2px 8px rgba(47, 170, 75, 0.35);
}

/* ========== Motion (default + v0–v4) ========== */
@keyframes wl-enter-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wl-illus-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wl-legacy-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes wl-legacy-hand-bob {
  0%,
  100% {
    transform: rotate(6deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-5px);
  }
}

html:not([data-landing]) .wl-index .wl-hero-inner,
html[data-landing="v1"] .wl-index .wl-hero-inner,
html[data-landing="v2"] .wl-index .wl-hero-inner,
html[data-landing="v3"] .wl-index .wl-hero-inner {
  animation: wl-enter-up 0.72s ease-out both;
}

[data-landing="v4"] .wl-index .wl-hero-block {
  animation: wl-enter-up 0.75s ease-out both;
}

.wl-index .wl-features-block,
.wl-index .wl-split-block,
.wl-index .wl-integrations-band,
.wl-index .wl-stats-block,
.wl-index .wl-mobile-block,
.wl-index .wl-footer-cta,
.wl-index .wl-copyright-bar {
  animation-name: wl-enter-up;
  animation-duration: 0.62s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

html:not([data-landing]) .wl-index .wl-features-block,
html[data-landing="v1"] .wl-index .wl-features-block,
html[data-landing="v2"] .wl-index .wl-features-block,
html[data-landing="v3"] .wl-index .wl-features-block {
  animation-delay: 0.07s;
}

html:not([data-landing]) .wl-index .wl-split-block,
html[data-landing="v1"] .wl-index .wl-split-block,
html[data-landing="v2"] .wl-index .wl-split-block,
html[data-landing="v3"] .wl-index .wl-split-block {
  animation-delay: 0.12s;
}

html:not([data-landing]) .wl-index .wl-integrations-band,
html[data-landing="v1"] .wl-index .wl-integrations-band,
html[data-landing="v2"] .wl-index .wl-integrations-band,
html[data-landing="v3"] .wl-index .wl-integrations-band {
  animation-delay: 0.145s;
}

html:not([data-landing]) .wl-index .wl-stats-block,
html[data-landing="v1"] .wl-index .wl-stats-block,
html[data-landing="v2"] .wl-index .wl-stats-block,
html[data-landing="v3"] .wl-index .wl-stats-block {
  animation-delay: 0.17s;
}

html:not([data-landing]) .wl-index .wl-mobile-block,
html[data-landing="v1"] .wl-index .wl-mobile-block,
html[data-landing="v2"] .wl-index .wl-mobile-block,
html[data-landing="v3"] .wl-index .wl-mobile-block {
  animation-delay: 0.22s;
}

html:not([data-landing]) .wl-index .wl-footer-cta,
html[data-landing="v1"] .wl-index .wl-footer-cta,
html[data-landing="v2"] .wl-index .wl-footer-cta,
html[data-landing="v3"] .wl-index .wl-footer-cta {
  animation-delay: 0.27s;
}

html:not([data-landing]) .wl-index .wl-copyright-bar,
html[data-landing="v1"] .wl-index .wl-copyright-bar,
html[data-landing="v2"] .wl-index .wl-copyright-bar,
html[data-landing="v3"] .wl-index .wl-copyright-bar {
  animation-delay: 0.31s;
}

[data-landing="v4"] .wl-index .wl-stats-block {
  animation-delay: 0.05s;
}

[data-landing="v4"] .wl-index .wl-hero-block {
  animation-delay: 0.11s;
}

[data-landing="v4"] .wl-index .wl-features-block {
  animation-delay: 0.16s;
}

[data-landing="v4"] .wl-index .wl-split-block {
  animation-delay: 0.21s;
}

[data-landing="v4"] .wl-index .wl-integrations-band {
  animation-delay: 0.235s;
}

[data-landing="v4"] .wl-index .wl-mobile-block {
  animation-delay: 0.28s;
}

[data-landing="v4"] .wl-index .wl-footer-cta {
  animation-delay: 0.32s;
}

[data-landing="v4"] .wl-index .wl-copyright-bar {
  animation-delay: 0.36s;
}

html[data-landing="v0"] .wl-legacy-index .hero {
  animation: wl-enter-up 0.7s ease-out both;
}

html[data-landing="v0"] .wl-legacy-index .features-wrap {
  animation: wl-enter-up 0.65s ease-out 0.08s both;
}

html[data-landing="v0"] .wl-legacy-index .wl-legacy-integ-band.section {
  animation: wl-enter-up 0.65s ease-out 0.12s both;
}

html[data-landing="v0"] .wl-legacy-index .section:not(.wl-legacy-integ-band) {
  animation: wl-enter-up 0.65s ease-out 0.18s both;
}

html[data-landing="v0"] .wl-legacy-index .copyright,
html[data-landing="v0"] .wl-legacy-index .cta-row {
  animation: wl-enter-up 0.55s ease-out 0.2s both;
}

html[data-landing="v0"] .wl-legacy-index .phone {
  animation: wl-legacy-bob 4.5s ease-in-out infinite;
  animation-delay: 0.35s;
}

html[data-landing="v0"] .wl-legacy-index .hand-phone {
  animation: wl-legacy-hand-bob 4.5s ease-in-out infinite;
  animation-delay: 0.35s;
}

html[data-landing="v0"] .wl-legacy-index .bubble {
  animation: wl-legacy-bob 3.8s ease-in-out infinite;
}

html[data-landing="v0"] .wl-legacy-index .bubble.b2 {
  animation-delay: 0.2s;
}

html[data-landing="v0"] .wl-legacy-index .bubble.b3 {
  animation-delay: 0.45s;
}

.wl-index .signup-btn {
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.wl-index .signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .wl-magic-illus-frame {
    animation:
      wl-illus-drift 6.5s ease-in-out 0.4s infinite,
      wl-magic-illus-glow 2.4s ease-in-out infinite;
  }

  .wl-magic-hero-visual::after {
    animation: wl-magic-sparkle-drift 5s ease-in-out infinite;
  }

  .wl-index .wl-split-inner .wl-illu-stack,
  .wl-index .wl-mobile-inner .wl-illu-stack {
    animation: wl-illus-drift 6.5s ease-in-out 0.4s infinite;
  }
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .wl-hero-inner,
  .wl-split-inner,
  .wl-mobile-inner {
    grid-template-columns: 1fr !important;
  }

  .wl-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .wl-hero-visual {
    grid-column: 1;
    grid-row: 2;
  }

  [data-landing="v2"] .wl-feature-grid {
    grid-template-columns: 1fr !important;
  }

  [data-landing="v4"] .wl-tpl-trust-chips {
    justify-content: center;
  }

  [data-landing="v4"] .wl-hero-visual {
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-index .wl-hero-inner,
  [data-landing="v4"] .wl-index .wl-hero-block,
  .wl-index .wl-features-block,
  .wl-index .wl-split-block,
  .wl-index .wl-integrations-band,
  .wl-index .wl-stats-block,
  .wl-index .wl-mobile-block,
  .wl-index .wl-footer-cta,
  .wl-index .wl-copyright-bar,
  html[data-landing="v0"] .wl-legacy-index .hero,
  html[data-landing="v0"] .wl-legacy-index .features-wrap,
  html[data-landing="v0"] .wl-legacy-index .section,
  html[data-landing="v0"] .wl-legacy-index .copyright,
  html[data-landing="v0"] .wl-legacy-index .cta-row,
  html[data-landing="v0"] .wl-legacy-index .phone,
  html[data-landing="v0"] .wl-legacy-index .hand-phone,
  html[data-landing="v0"] .wl-legacy-index .bubble {
    animation: none !important;
  }

  .wl-magic-illus-frame {
    animation: none !important;
  }

  .wl-magic-hero-visual::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .wl-index .wl-split-inner .wl-illu-stack,
  .wl-index .wl-mobile-inner .wl-illu-stack {
    animation: none !important;
  }

  .wl-index .signup-btn,
  .wl-index .signup-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
  }

  .wl-integ-logo,
  .wl-integ-logo:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1) !important;
  }
}
