/* dashboard/static/style-marketing.css
   Marketing page styles. Requires style-tokens.css loaded first.
   Uses --lp-* tokens only — no hardcoded color or spacing values.

   Design read: redesign-preserve of the "luminous pastel" Placoria brand.
   Dials: VARIANCE 6 / MOTION 4 / DENSITY 4.
   Shape system: cards 16px (--lp-r-lg), buttons 8px (--lp-r), chips/badges pill.
   Accent lock: --lp-primary on every interactive/CTA element. Pastel tints are
   category backgrounds only, never competing accents. Light theme throughout;
   the closing CTA band and footer are a deliberate single dark color-block. */

/* ── Marketing-only accents ────────────────────────────────
   The violet luminous pastel palette now lives in style-tokens.css
   (shared by app, login, admin). Only page-specific extras remain here. */
:root {
  /* extra accents used by textures and tiles on this page */
  --lp-sky:              #e0f0fe;
  --lp-sky-text:         #075985;
  --lp-ink:              #1c1226;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* author display rules override UA [hidden]; re-enforce it */
[hidden] { display: none !important; }

body {
  background: var(--lp-bg);
  color: var(--lp-text-body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ── Shared layout ────────────────────────────────────────── */
.m-section {
  padding: 96px var(--lp-gutter);
}

.m-section-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}

.m-section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.m-eyebrow {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin-bottom: 14px;
}

.m-section-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--lp-text);
  margin-bottom: 14px;
}

.m-section-sub {
  font-size: 17px;
  color: var(--lp-muted);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--lp-r);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.12s ease, background 0.15s, border-color 0.15s,
              color 0.15s, box-shadow 0.15s;
}
.m-btn:active { transform: translateY(1px); }

.m-btn-sm { font-size: 13px; padding: 9px 16px; }

.m-btn-primary {
  background: var(--lp-primary);
  color: #fff;
  /* chroma-tinted glow, not a gray drop shadow */
  box-shadow: 0 6px 18px -6px rgba(124, 58, 237, 0.5);
}
.m-btn-primary:hover {
  background: var(--lp-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(124, 58, 237, 0.55);
}

.m-btn-secondary {
  background: var(--lp-surface-0);
  border-color: var(--lp-border);
  color: var(--lp-text);
}
.m-btn-secondary:hover {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
  transform: translateY(-1px);
}

/* ── Chips ────────────────────────────────────────────────── */
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--lp-r-pill);
  line-height: 1;
}
.m-chip i { font-size: 14px; }
.m-chip-xs { font-size: 11px; padding: 3px 9px; }

.m-chip-sky      { background: var(--lp-sky);           color: var(--lp-sky-text); }
.m-chip-mint     { background: var(--lp-mint);          color: var(--lp-mint-text); }
.m-chip-lavender { background: var(--lp-lavender);      color: var(--lp-lavender-text); }
.m-chip-peach    { background: var(--lp-peach);         color: var(--lp-peach-text); }

/* ── Decorative SVG textures (direction 2: generative accents) ──
   All .m-tex layers are aria-hidden, absolutely positioned, and sit
   behind content (z-index 0 vs content z-index 1). Pure inline SVG:
   no image requests, negligible weight. */
.m-tex {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.m-tex-hero-waves {
  right: -40px;
  bottom: -30px;
  width: min(560px, 60vw);
  height: auto;
}

.m-tex-waves {
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 55%;
  height: auto;
}

.m-tex-rings {
  top: 0;
  right: 0;
  width: 200px;
  max-width: 70%;
  height: auto;
}

.m-tex-dots {
  right: 14px;
  bottom: 14px;
  width: 180px;
  max-width: 55%;
  height: auto;
}

.m-tex-contours {
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 60%;
  height: auto;
}

.m-tex-coverage {
  right: 0;
  top: 0;
  width: min(420px, 38vw);
  height: auto;
}

.m-tex-cta-arcs-right {
  right: 0;
  bottom: 0;
  width: 260px;
  height: 260px;
}

.m-tex-cta-dots-left {
  left: 0;
  top: 0;
  width: 220px;
  height: 160px;
}

/* ── Nav ──────────────────────────────────────────────────── */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: visible;
  background: var(--lp-glass-bg);
  backdrop-filter: var(--lp-glass-blur);
  -webkit-backdrop-filter: var(--lp-glass-blur);
  border-bottom: 1px solid var(--lp-border-soft);
}

.m-nav-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  height: 68px;
  padding: 0 var(--lp-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.m-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.m-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-subtle);
  text-decoration: none;
  transition: color 0.15s;
}
.m-nav-links a:hover { color: var(--lp-text); }

.m-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.m-nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text);
  text-decoration: none;
  transition: color 0.15s;
}
.m-nav-login:hover { color: var(--lp-primary); }

/* ── Hero (asymmetric split) ──────────────────────────────── */
.m-hero {
  position: relative;
  padding: 88px var(--lp-gutter) 96px;
  background: var(--lp-bg-gradient);
  overflow: hidden;
}

/* soft pastel ambient glows, decorative only */
.m-hero::before,
.m-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.m-hero::before {
  width: 460px; height: 460px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, var(--lp-primary-light), transparent 70%);
}
.m-hero::after {
  width: 380px; height: 380px;
  bottom: -180px; left: -100px;
  background: radial-gradient(circle, var(--lp-lavender), transparent 70%);
}

.m-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--lp-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.m-hero-copy { max-width: 560px; }

/* Floating audience switcher — fixed below sticky nav, always reachable on scroll */
.m-audience-float {
  position: fixed;
  top: calc(68px + 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: 100%;
  max-width: var(--lp-max-w);
  padding: 0 var(--lp-gutter);
  pointer-events: none;
}

.m-audience-float .m-hero-tabs {
  pointer-events: auto;
  margin-bottom: 0;
  box-shadow: var(--lp-shadow-md);
}

.m-hero-tabs-spacer {
  height: 52px;
  margin-bottom: 20px;
}

.m-hero-panel[hidden] { display: none !important; }

.m-preview-example-note {
  font-size: 11px;
  color: var(--lp-subtle);
  margin-top: 8px;
  text-align: center;
}

.m-credit-explainer {
  text-align: center;
  font-size: 14px;
  color: var(--lp-muted);
  margin: 0 auto 20px;
  max-width: 520px;
}

.m-agent-pilot {
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--lp-r-lg);
  border: 1px solid var(--lp-border);
  background: var(--lp-surface-1);
  text-align: center;
}
.m-agent-pilot h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.m-agent-pilot p {
  font-size: 14px;
  color: var(--lp-muted);
  margin: 0 0 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.m-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}
.m-modal-overlay[hidden] { display: none; }
body.m-modal-open { overflow: hidden; }

.m-modal {
  width: min(480px, 100%);
  border-radius: var(--lp-r-lg);
  border: 1px solid var(--lp-border);
  background: var(--lp-surface-0);
  box-shadow: var(--lp-shadow-lg);
}
.m-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 0;
}
.m-modal-head h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--lp-text);
}
.m-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  background: var(--lp-surface-0);
  color: var(--lp-text);
  cursor: pointer;
}
.m-modal-close:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}
.m-modal-body { padding: 16px 20px 20px; }
.m-modal-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lp-muted);
  margin: 0 0 16px;
}
.m-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 8px;
}
.m-modal-label + .m-modal-label {
  margin-top: 16px;
}
.m-modal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-text);
  background: var(--lp-surface-0);
}
.m-modal-input--readonly {
  background: var(--lp-surface-1, #f8fafc);
  color: var(--lp-text);
  cursor: default;
}
.m-modal-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-text);
  background: var(--lp-surface-0);
  resize: vertical;
}
.m-modal-textarea:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 0;
  border-color: var(--lp-primary);
}
.m-modal-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 12px;
  color: var(--lp-muted);
}
.m-modal-form-error {
  margin-top: 16px;
}
.m-modal-error {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--lp-danger-text, #b42318);
}
.m-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.m-hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin: 18px 0 0;
}
.m-hero-h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--lp-primary);
  line-height: 1.1;
  padding-bottom: 2px;
}

.m-hero-sub {
  font-size: 18px;
  color: var(--lp-muted);
  line-height: 1.6;
  max-width: 46ch;
  margin: 20px 0 0;
}

.m-hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Honest mini product preview — a real component motif, not fake browser chrome.
   Direction 1: dimensional hero object — the card floats on a 3D stage with
   satellite status elements (toast, match chip, weekly stat). */
.m-hero-visual {
  position: relative;
  z-index: 1;
}

.m-preview-stage {
  position: relative;
  perspective: 1400px;
  animation: m-hero-float 7s ease-in-out infinite;
}

@keyframes m-hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.m-preview {
  position: relative;
  background: var(--lp-surface-0);
  border-radius: var(--lp-r-lg);
  border: 1px solid var(--lp-border);
  /* chroma-tinted glow under the tilted card */
  box-shadow:
    0 40px 90px -30px rgba(99, 14, 212, 0.35),
    0 24px 50px -28px rgba(15, 23, 42, 0.3);
  padding: 22px;
  transform: rotateX(7deg) rotateY(-9deg) rotateZ(1.2deg);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease;
}
.m-preview-stage:hover .m-preview {
  transform: rotateX(2deg) rotateY(-3deg) rotateZ(0.4deg);
  box-shadow:
    0 46px 100px -30px rgba(99, 14, 212, 0.4),
    0 28px 56px -28px rgba(15, 23, 42, 0.32);
}

/* floating satellite: drafted-outreach toast, top-left */
.m-float-toast {
  position: absolute;
  top: -46px;
  left: -26px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  box-shadow: 0 14px 34px -14px rgba(99, 14, 212, 0.35);
  animation: m-hero-float 7s ease-in-out infinite reverse;
}
.m-float-toast-icon {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lp-mint);
  color: var(--lp-mint-text);
  font-size: 16px;
  flex-shrink: 0;
}
.m-float-toast-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1.2;
}
.m-float-toast-sub {
  font-size: 11px;
  color: var(--lp-subtle);
  margin-top: 2px;
}

/* floating satellite: match-score chip, top-right corner */
.m-float-chip {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-primary);
  border-radius: var(--lp-r-pill);
  box-shadow: 0 12px 28px -10px rgba(99, 14, 212, 0.55);
  animation: m-hero-float 6s ease-in-out 0.8s infinite;
}
.m-float-chip i { font-size: 15px; }

.m-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.m-preview-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-text);
}
.m-preview-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.m-preview-live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lp-mint-text);
}

.m-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  background: var(--lp-surface-1);
  border: 1px solid var(--lp-border-soft);
  border-radius: var(--lp-r);
}
.m-preview-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text-body);
}
.m-preview-row-co {
  font-size: 12px;
  color: var(--lp-subtle);
  margin-top: 2px;
}

/* circular match-score badge */
.m-score {
  --val: 90;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--lp-primary) calc(var(--val) * 1%), var(--lp-surface-2) 0);
}
.m-score::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--lp-surface-1);
}
.m-score span {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-primary);
}

.m-preview-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--lp-subtle);
}
.m-preview-foot i { color: var(--lp-primary); font-size: 15px; }

/* floating accent card behind preview */
.m-preview-pop {
  position: absolute;
  right: -16px;
  bottom: -20px;
  z-index: 2;
  animation: m-hero-float 8s ease-in-out 1.6s infinite;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  box-shadow: var(--lp-shadow-md);
}
.m-preview-pop i {
  font-size: 22px;
  color: var(--lp-primary);
}
.m-preview-pop-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--lp-text);
  line-height: 1;
}
.m-preview-pop-label {
  font-size: 11px;
  color: var(--lp-subtle);
  margin-top: 3px;
}

/* ── Features (bento with rhythm) ─────────────────────────── */
/* features and how-it-works share a white background; halve the
   double padding between them so the seam doesn't read as dead space */
.m-features {
  background: var(--lp-surface-0);
  padding-bottom: 48px;
}

.m-bento {
  display: grid;
  /* 2 columns: the four middle tiles form a 2x2 between the full-width tiles */
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.m-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--lp-r-lg);
  border: 1px solid var(--lp-border);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.m-tile > *:not(.m-tex) { position: relative; z-index: 1; }
.m-tile:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-md); }

.m-tile-wide { grid-column: 1 / -1; }

/* tinted category backgrounds = bento visual variation */
.m-tile-sky      { background: linear-gradient(135deg, var(--lp-sky), var(--lp-surface-0)); }
.m-tile-lavender { background: linear-gradient(135deg, var(--lp-lavender), var(--lp-surface-0)); }
.m-tile-mint     { background: linear-gradient(135deg, var(--lp-mint), var(--lp-surface-0)); }
.m-tile-peach    { background: linear-gradient(135deg, var(--lp-peach), var(--lp-surface-0)); }

.m-tile-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--lp-r-md);
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  margin-bottom: 18px;
}
.m-tile-icon i { font-size: 26px; color: var(--lp-primary); }

.m-tile-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 8px;
}

.m-tile-desc {
  font-size: 16px;
  color: var(--lp-muted);
  line-height: 1.55;
  max-width: 60ch;
}

/* wide tile lays out as text + supporting score visual */
.m-tile-wide-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 30px;
}

.m-tile-scores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-tile-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r);
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text-body);
}

/* ── Global coverage (stat + columns) ─────────────────────── */
.m-coverage {
  position: relative;
  overflow: hidden;
  background: var(--lp-surface-1);
}
.m-coverage .m-section-inner { position: relative; z-index: 1; }

.m-coverage-layout {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.m-coverage-stat {
  flex-shrink: 0;
  min-width: 88px;
}

.m-coverage-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--lp-primary);
  margin: 0;
}

.m-coverage-stat-label {
  margin: 8px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text);
}

.m-coverage-stat-note {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--lp-subtle);
}

.m-coverage-divider {
  width: 1px;
  flex-shrink: 0;
  background: var(--lp-border);
}

.m-coverage-columns {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.m-coverage-col-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 10px;
}

.m-coverage-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-coverage-col-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-muted);
  line-height: 1.35;
}

/* ── How it works (alternating timeline with product vignettes) ── */
.m-how {
  background: var(--lp-surface-0);
  padding-top: 48px;
}

.m-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 920px;
  margin: 0 auto;
}

/* vertical spine behind the steps */
.m-flow::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--lp-primary-light), var(--lp-border), var(--lp-primary-light));
}

.m-flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
/* alternate: visual on the left, copy on the right */
.m-flow-step-alt .m-flow-copy  { order: 2; }
.m-flow-step-alt .m-flow-visual { order: 1; justify-self: start; }
.m-flow-visual { justify-self: end; }

.m-step-num {
  width: 40px; height: 40px;
  border-radius: var(--lp-r-pill);
  background: var(--lp-primary);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(99, 14, 212, 0.55);
}

.m-step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 8px;
}
.m-step-desc {
  font-size: 15px;
  color: var(--lp-muted);
  line-height: 1.55;
  max-width: 42ch;
}

/* framed mini product scene */
.m-vignette {
  width: min(340px, 100%);
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
  padding: 20px;
  box-shadow: 0 18px 44px -18px rgba(99, 14, 212, 0.25);
}

.m-vignette-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--lp-surface-1);
  border: 1px solid var(--lp-border-soft);
  border-radius: var(--lp-r);
  margin-bottom: 14px;
}
.m-vignette-file > i { font-size: 26px; color: var(--lp-primary); }
.m-vignette-file-check { margin-left: auto; color: var(--lp-mint-text) !important; font-size: 20px !important; }
.m-vignette-file-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text);
}
.m-vignette-file-meta {
  font-size: 11px;
  color: var(--lp-subtle);
  margin-top: 2px;
}

.m-vignette-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* gauge vignette */
.m-vignette-gauge { text-align: center; }
.m-gauge { width: 160px; height: 96px; }
.m-gauge-arc {
  stroke-dasharray: 188.5; /* half-circle arc length, r=60 */
  stroke-dashoffset: 15;   /* ~92% fill */
}
.m-gauge-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--lp-primary);
  line-height: 1;
  margin-top: -38px;
}
.m-gauge-label {
  font-size: 12px;
  color: var(--lp-subtle);
  margin: 4px 0 14px;
}
.m-gauge-chips { justify-content: center; }

/* outreach approval vignette */
.m-vignette-mailrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--lp-border-soft);
  font-size: 13px;
}
.m-vignette-mail-label {
  width: 58px;
  flex-shrink: 0;
  color: var(--lp-subtle);
  font-size: 12px;
}
.m-vignette-mail-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--lp-text-body);
}
.m-vignette-mail-value i { color: var(--lp-primary); font-size: 15px; }

.m-vignette-maillines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 0;
}
.m-vignette-maillines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--lp-surface-2);
}

.m-vignette-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.m-vignette-approve {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--lp-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--lp-r);
}
.m-vignette-edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-subtle);
}

/* coverage globe */
.m-globe {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

/* ── Pricing ──────────────────────────────────────────────── */
.m-pricing { background: var(--lp-surface-0); }

.m-plan-tabs {
  justify-content: center;
  margin: 0 auto 36px;
}

.m-plan-group { margin-bottom: 24px; }

.m-plan-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.m-plan-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}

.m-plan-grid-5 .m-plan {
  padding: 24px 18px;
}

.m-plan {
  display: flex;
  flex-direction: column;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.m-plan:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-md); }

.m-plan-featured {
  border-color: var(--lp-primary);
  box-shadow: 0 14px 40px -10px rgba(124, 58, 237, 0.28);
}

.m-plan-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--lp-r-pill);
  background: var(--lp-primary);
  color: #fff;
  margin-bottom: 14px;
}

.m-plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 6px;
}
.m-plan-desc {
  font-size: 13px;
  color: var(--lp-subtle);
  margin-bottom: 18px;
  line-height: 1.5;
  min-height: 38px;
}
.m-plan-price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.2em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--lp-text);
  margin-bottom: 20px;
  line-height: 1.1;
  white-space: nowrap;
}
.m-plan-grid-5 .m-plan-price {
  font-size: clamp(22px, 1.55vw, 28px);
}
.m-plan-price span {
  font-size: 0.42em;
  font-weight: 500;
  color: var(--lp-subtle);
  white-space: nowrap;
}
.m-plan-btn { width: 100%; margin-bottom: 16px; flex-shrink: 0; }

.m-plan-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--lp-border);
  padding-top: 16px;
  margin-top: 0;
}
.m-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.4;
}
.m-plan-item i {
  color: var(--lp-primary);
  font-size: 17px;
  flex-shrink: 0;
}

.m-plan-agent-beta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lp-muted);
  background: var(--lp-surface-1);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
}
.m-plan-agent-beta i { flex-shrink: 0; margin-top: 2px; color: var(--lp-primary); }

.m-plan-agent-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--lp-muted);
  text-align: center;
}
.m-link-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--lp-primary);
  text-decoration: underline;
  cursor: pointer;
}
.m-link-btn:hover { color: var(--lp-primary-text, var(--lp-primary)); }
.m-link-btn:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}
.m-footer-contact-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.m-footer-contact-btn:hover { color: var(--lp-primary); }
.m-footer-contact-btn:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}

/* credit packs — grid of pills, not a dot-separated run */
.m-credit-packs {
  margin-top: 28px;
  padding: 24px;
  background: var(--lp-surface-1);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
}
.m-credit-packs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.m-credit-packs-head i { font-size: 22px; color: var(--lp-primary); }
.m-credit-packs-head strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--lp-text);
}
.m-credit-packs-head span { font-size: 14px; color: var(--lp-muted); }
.m-credit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.m-credit-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 15px;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-pill);
  font-size: 14px;
}
.m-credit-pill b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--lp-text);
}
.m-credit-pill span { color: var(--lp-primary); font-weight: 600; }

/* ── CTA banner (deliberate dark color-block) ─────────────── */
.m-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% -20%, rgba(124, 58, 237, 0.45), transparent 55%),
    var(--lp-ink);
  padding: 104px var(--lp-gutter);
  text-align: center;
}
.m-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.m-cta-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.m-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin-bottom: 32px;
}
.m-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.m-btn-cta-primary { background: #fff; color: var(--lp-text); }
.m-btn-cta-primary:hover { background: rgba(255, 255, 255, 0.92); }
.m-btn-cta-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}
.m-btn-cta-secondary:hover { border-color: rgba(255, 255, 255, 0.8); color: #fff; }

/* ── Footer ───────────────────────────────────────────────── */
.m-footer {
  background: var(--lp-text-body);
  padding: 28px var(--lp-gutter);
}
.m-footer-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.m-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--lp-primary-light);
}
.m-footer-brand i {
  font-style: normal;
  color: #c4b5fd; /* brand Lilac — the wordmark "i" on dark surfaces */
}
.m-footer-brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.m-footer-brand:hover .m-footer-brand-logo { transform: rotate(-9deg) scale(1.1); }
.m-footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.m-footer-links { display: flex; gap: 22px; list-style: none; }
.m-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.m-footer-links a:hover { color: rgba(255, 255, 255, 0.9); }

/* ── Motion: scroll reveal (IntersectionObserver toggles .is-in) ── */
.m-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.m-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-reveal { opacity: 1; transform: none; transition: none; }
  .m-btn, .m-tile, .m-plan { transition: none; }
  .m-btn:hover, .m-tile:hover, .m-plan:hover { transform: none; }
  .m-footer-brand-logo { transition: none; }
  .m-preview-stage, .m-float-toast, .m-float-chip, .m-preview-pop { animation: none; }
  .m-preview { transition: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .m-plan-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .m-plan-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .m-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .m-hero-copy { max-width: 100%; }
  .m-hero-visual { max-width: 460px; }
  .m-tile-wide-inner { grid-template-columns: 1fr; gap: 22px; }
  .m-coverage-layout {
    flex-direction: column;
    gap: 20px;
  }
  .m-coverage-divider {
    width: 100%;
    height: 1px;
  }
  .m-coverage-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .m-flow::before { display: none; }
  .m-flow { gap: 40px; }
  .m-flow-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .m-flow-step-alt .m-flow-copy  { order: 1; }
  .m-flow-step-alt .m-flow-visual { order: 2; }
  .m-flow-visual,
  .m-flow-step-alt .m-flow-visual { justify-self: start; }
}

@media (max-width: 768px) {
  .m-section { padding: 64px var(--lp-gutter); }
  .m-features { padding-bottom: 32px; }
  .m-how { padding-top: 32px; }
  .m-nav-links { display: none; }
  .m-nav-login { display: none; }
  .m-hero { padding: 56px var(--lp-gutter) 64px; }
  .m-audience-float {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 16px);
    max-width: none;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .m-audience-float .m-hero-tabs {
    width: max-content;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
  }
  .m-audience-float .m-hero-tab {
    font-size: 12px;
    padding: 8px 12px;
    gap: 5px;
  }
  .m-audience-float .m-hero-tab i {
    font-size: 15px;
    flex-shrink: 0;
  }
  .m-hero-tabs-spacer {
    height: 48px;
    margin-bottom: 16px;
  }
  .m-hero-btns { flex-direction: column; align-items: stretch; }
  .m-hero-btns .m-btn { width: 100%; }
  .m-bento { grid-template-columns: 1fr; }
  .m-tile-wide { grid-column: span 1; }
  .m-plan-grid-4, .m-plan-grid-5 { grid-template-columns: 1fr; }
  .m-coverage-columns { grid-template-columns: 1fr; }
  .m-coverage-col-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 4px;
  }
  .m-cta-btns { flex-direction: column; align-items: stretch; }
  .m-preview-pop { right: 0; bottom: -16px; }
  .m-preview { transform: rotateX(4deg) rotateY(-5deg) rotateZ(0.8deg); }
  .m-float-toast { left: -4px; top: -34px; }
  .m-float-chip { right: -4px; }
  .m-footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .m-footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── § PLATFORM / WORKFLOW / TRUST STRIP / FAQ (positioning refresh) ── */

.m-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.m-platform-card {
  border-radius: var(--lp-r-lg);
  border: 1px solid var(--lp-border);
  background: var(--lp-surface-0);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.m-platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow-md);
}

.m-workflow {
  margin-top: 36px;
}


.m-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 28px;
}

.m-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--lp-muted);
}

.m-trust-item i {
  font-size: 19px;
  color: var(--lp-primary);
}

.m-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.m-faq-item {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  background: var(--lp-surface-0);
  padding: 0;
}

.m-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--lp-text);
}

.m-faq-item summary::-webkit-details-marker { display: none; }

.m-faq-item summary::after {
  content: "\002B"; /* + marker, rotates to x when open */
  font-size: 20px;
  font-weight: 400;
  color: var(--lp-primary);
  transition: transform 0.18s ease;
}

.m-faq-item[open] summary::after { transform: rotate(45deg); }

.m-faq-item summary:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
  border-radius: var(--lp-r-md);
}

.m-faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--lp-muted);
  line-height: 1.55;
}

.m-hero-agents .m-hero-inner {
  grid-template-columns: 1fr;
  max-width: 780px;
  text-align: left;
}

@media (max-width: 900px) {
  .m-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .m-platform-card {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
  }

  .m-platform-card .m-tile-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .m-platform-card .m-tile-icon i {
    font-size: 22px;
  }

  .m-platform-card .m-tile-title {
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .m-platform-card .m-tile-desc {
    max-width: none;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ── Workflow mini product-moment cards (homepage #workflow) ── */

.m-wf-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-wf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--lp-surface-0);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
  padding: 16px 14px;
  box-shadow: 0 18px 44px -18px rgba(99, 14, 212, 0.18); /* vignette shadow, softened */
}

.m-wf-card + .m-wf-card::before {
  content: "\2192";
  position: absolute;
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lp-primary);
  font-weight: 600;
}

.m-wf-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lp-primary);
}

.m-wf-card-label i { font-size: 15px; }

.m-wf-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--lp-text);
}

.m-wf-mini-col { flex-direction: column; align-items: stretch; }

.m-wf-mini-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-wf-mini-sub { font-size: 12px; color: var(--lp-muted); }
.m-wf-mini-check { color: var(--lp-mint-text); font-size: 16px; }
.m-wf-mini-ico { color: var(--lp-primary); font-size: 16px; }

.m-wf-lines span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--lp-surface-2);
  margin-top: 6px;
}

.m-wf-card .m-vignette-approve { padding: 7px 12px; font-size: 12px; }

.m-wf-cards-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1180px) {
  .m-wf-cards, .m-wf-cards-5 { grid-template-columns: repeat(3, 1fr); }
  .m-wf-card:nth-child(3n + 1)::before { content: none; }
}

@media (max-width: 640px) {
  .m-wf-cards { grid-template-columns: 1fr; }
  .m-wf-card + .m-wf-card::before { content: none; }
}
