/* Landing pages (page-lp.php, inc/lp/). One look for every /lp/ page: a centred hero with a big screenshot,
   the integrations row, alternating feature rows with a fact card, a comparison card, two-column questions
   and a sticky bar. Blue for actions, green for "yes", solid fills, no pills. */

.mk-lp {
  --lp-ink: #182021;
  --lp-muted: #626968;
  --lp-line: #E4E6EB;
  --lp-soft: #F4F5F3;
  --lp-blue: #047857;
  --lp-pale: #ecfdf5;
  --lp-green: #24A35F;
  color: var(--lp-ink);
}

/* ---- Hero ---- */
.mk-lp-hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 100%, rgb(4 120 87 / 0.10), rgb(4 120 87 / 0) 70%),
    #FFFFFF;
  text-align: center;
}
.mk-lp-hero-copy { max-width: 980px; }
.mk-lp-eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--lp-muted);
}
.mk-lp-hero h1 {
  max-width: 17ch;
  margin: 0 auto 20px;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--lp-ink);
  text-wrap: balance;
}
/* One word in a solid blue box, like the home hero. It sweeps in after the headline. */
.mk-lp-markline { white-space: nowrap; }
.mk-lp-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.14em 0.04em;
  color: #FFFFFF;
  isolation: isolate;
}
.mk-lp-mark::before {
  content: "";
  position: absolute;
  inset: 0.06em 0 -0.02em;
  z-index: -1;
  border-radius: 8px;
  background: var(--lp-blue);
  transform: rotate(-1deg);
  transform-origin: left center;
}

/* Hero motion: the words rise in one after another, the screen rises out of its panel, the small screen
   slides in over its corner and then floats a little. Off for anyone who asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .mk-lp-hero-copy > * { animation: mk-lp-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .mk-lp-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .mk-lp-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .mk-lp-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .mk-lp-hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .mk-lp-mark::before { animation: mk-lp-sweep 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both; }
  .mk-lp-mark { animation: mk-lp-ink 0.01s linear 0.55s both; }
  .mk-lp-stage-main { animation: mk-lp-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
  .mk-lp-stage-detail {
    animation:
      mk-lp-slide 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both,
      mk-lp-float 6s ease-in-out 1.7s infinite;
  }
  .mk-lp-stage::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto;
    height: 80%;
    background: radial-gradient(40% 50% at 30% 50%, rgb(4 120 87 / 0.14), transparent 70%), radial-gradient(35% 45% at 75% 40%, rgb(153 244 208 / 0.18), transparent 70%);
    animation: mk-lp-drift 14s ease-in-out infinite alternate;
    pointer-events: none;
  }
}
@keyframes mk-lp-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mk-lp-sweep { from { transform: rotate(-1deg) scaleX(0); } to { transform: rotate(-1deg) scaleX(1); } }
@keyframes mk-lp-ink { from { color: inherit; } to { color: #FFFFFF; } }
@keyframes mk-lp-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes mk-lp-slide { from { opacity: 0; transform: translate(40px, 24px); } to { opacity: 1; transform: none; } }
@keyframes mk-lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mk-lp-drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

.mk-lp-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--lp-muted);
  text-wrap: pretty;
}
.mk-lp-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.mk-lp-ctas .lx-btn { min-height: 52px; padding-inline: 26px; font-size: 1rem; }
.mk-lp-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--lp-muted);
}
.mk-lp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.mk-lp-check { flex: none; width: 18px; height: 18px; fill: var(--lp-green); }
/* The hero screenshot: a soft panel the screen rises out of, cut off at the panel's bottom edge. */
.mk-lp-stage {
  position: relative;
  max-width: 1100px;
  height: clamp(320px, 42vw, 580px);
  margin: clamp(44px, 5vw, 64px) auto 0;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 64px) 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e1f8ef;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #ecfdf5 0%, #f6fcfa 100%);
}
.mk-lp-stage-main {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dcf5eb;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgb(24 32 33 / 0.05), 0 30px 60px -24px rgb(4 120 87 / 0.32);
}
.mk-lp-stage.has-detail .mk-lp-stage-main { width: 78%; }
/* The small screen on the left instead (hero opts detail_pos bl): the big one moves right. */
.mk-lp-stage.is-left .mk-lp-stage-main { margin-left: auto; }
.mk-lp-stage.is-left .mk-lp-stage-detail { right: auto; left: clamp(16px, 4vw, 56px); }
/* A short small screen that would cover the big one's top bar starts lower instead (hero opts detail_low). */
.mk-lp-stage.is-low .mk-lp-stage-detail { top: var(--lp-detail-top, 26%); bottom: auto; width: 28%; }
.mk-lp-stage-detail {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(20px, 3vw, 40px);
  width: 31%;
  height: auto;
  border: 1px solid #dcf5eb;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgb(24 32 33 / 0.06), 0 30px 60px -18px rgb(24 32 33 / 0.35);
}

/* The closing card's headline may wrap on these pages. */
.mk-lp-page .lx-final .lx-h2 { max-width: 18ch; margin-inline: auto; white-space: normal; text-wrap: balance; }

/* ---- Works with ---- */
.mk-lp-works {
  padding: 34px 0 36px;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  text-align: center;
}
.mk-lp-works p { margin: 0 0 18px; font-size: 14px; color: var(--lp-muted); }
.mk-lp-works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-lp-works a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.mk-lp-works a:hover { color: var(--lp-blue); }
.mk-lp-works img { width: 28px; height: 28px; }

/* ---- Feature rows ---- */
.mk-lp-feature { padding: clamp(64px, 8vw, 112px) 0 0; scroll-margin-top: calc(var(--header-stack, 120px) + 24px); }
.mk-lp-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5.5vw, 88px);
  align-items: center;
}
.mk-lp-feature--flip .mk-lp-feature-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.mk-lp-feature--flip .mk-lp-feature-media { order: -1; }
.mk-lp-feature-media { min-width: 0; }
.mk-lp-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-blue);
}
.mk-lp-feature h2,
.mk-lp-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--lp-ink);
  text-wrap: balance;
}
.mk-lp-text { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--lp-muted); }
.mk-lp-points { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.mk-lp-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.45; color: var(--lp-ink); }
.mk-lp-points .mk-lp-check { margin-top: 1px; }
.mk-lp-fact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--lp-soft);
}
.mk-lp-fact b {
  flex: none;
  font-family: var(--font-display, inherit);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
}
.mk-lp-fact span { font-size: 0.9375rem; line-height: 1.45; color: var(--lp-muted); }

/* ---- Shared section head ---- */
.mk-lp-block { padding: clamp(72px, 9vw, 120px) 0 0; scroll-margin-top: calc(var(--header-stack, 120px) + 24px); }
.mk-lp-head { max-width: 44rem; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.mk-lp-head p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--lp-muted); }

/* ---- Journey: the steps as scene cards ---- */
.mk-lp-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-lp-steps .mk-hk-card { margin: 0; }
.mk-lp-steps .mk-hk-card .lx-sol-stage { --hk-h: 150px; --hk-z: 0.6; }
.mk-lp-step-n {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--lp-pale);
  color: var(--lp-blue);
  font-size: 12px;
  font-weight: 700;
}
.mk-lp-steps .mk-hk-copy small { -webkit-line-clamp: 3; }

/* ---- Grid of cards ---- */
.mk-lp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-lp-cards li {
  padding: 26px 24px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgb(24 32 33 / 0.04), 0 6px 16px -10px rgb(24 32 33 / 0.14);
}
.mk-lp-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--lp-pale);
  color: var(--lp-blue);
}
.mk-lp-card-icon svg { width: 22px; height: 22px; }
.mk-lp-cards h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; color: var(--lp-ink); }
.mk-lp-cards p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--lp-muted); }

/* ---- Comparison card ---- */
.mk-lp-compare-card {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 2px 4px rgb(24 32 33 / 0.03), 0 24px 48px -32px rgb(24 32 33 / 0.25);
}
.mk-lp-table-wrap { overflow-x: auto; }
.mk-lp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}
.mk-lp-table th,
.mk-lp-table td { padding: 16px 14px; }
.mk-lp-table thead th {
  font-family: var(--font-display, inherit);
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--lp-ink);
}
.mk-lp-table thead th.is-us { color: var(--lp-blue); }
.mk-lp-table tbody th { width: 40%; font-weight: 450; text-align: left; color: var(--lp-ink); }
.mk-lp-table tbody td { text-align: center; }
.mk-lp-table tbody tr:nth-child(odd) > * { background: #f6fdfa; }
.mk-lp-table tbody tr > :first-child { border-radius: 12px 0 0 12px; }
.mk-lp-table tbody tr > :last-child { border-radius: 0 12px 12px 0; }
.mk-lp-yes { display: inline-grid; place-items: center; }
.mk-lp-yes .mk-lp-check { width: 24px; height: 24px; }
.mk-lp-no { font-size: 15px; color: #9AA0A6; }
.mk-lp-part,
.mk-lp-val { font-size: 13px; font-weight: 500; color: var(--lp-muted); }
.mk-lp-table td.is-us .mk-lp-val { font-weight: 650; color: var(--lp-ink); }
.mk-lp-compare-cta { margin: 32px 0 0; text-align: center; }

/* ---- Developer tiers ---- */
.mk-lp-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-lp-tiers li {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 26px 20px 22px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: #FFFFFF;
  text-align: center;
}
.mk-lp-tier-sites { font-size: 14px; font-weight: 600; color: var(--lp-muted); }
.mk-lp-tier-price { font-family: var(--font-display, inherit); font-size: 2rem; font-weight: 680; letter-spacing: -0.04em; color: var(--lp-ink); }
.mk-lp-tier-price small { margin-left: 4px; font-family: var(--font-body, inherit); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--lp-muted); }
.mk-lp-tier-per { margin-bottom: 12px; font-size: 14px; color: var(--lp-muted); }
.mk-lp-tiers .lx-btn { justify-content: center; width: 100%; min-height: 44px; }
.mk-lp-plans-note { margin: 22px 0 0; font-size: 0.9375rem; text-align: center; color: var(--lp-muted); }
.mk-lp-plans-note a { color: var(--lp-blue); font-weight: 600; }

/* ---- Quote ---- */
.mk-lp-quote figure {
  margin: 0;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  background: var(--lp-pale);
  text-align: center;
}
.mk-lp-quote blockquote { margin: 0; }
.mk-lp-quote blockquote p {
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--lp-ink);
  quotes: "\201C" "\201D";
}
.mk-lp-quote blockquote p::before { content: open-quote; color: var(--lp-blue); }
.mk-lp-quote blockquote p::after { content: close-quote; color: var(--lp-blue); }
.mk-lp-quote figcaption { display: grid; gap: 4px; margin-top: 22px; }
.mk-lp-quote figcaption b { font-size: 1rem; color: var(--lp-ink); }
.mk-lp-quote figcaption span { font-size: 0.875rem; color: var(--lp-muted); }

/* ---- Questions: an accordion, the first one open ---- */
.mk-lp-faq { padding-bottom: clamp(24px, 3vw, 40px); }
.mk-lp-qa { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--lp-line); }
.mk-lp-qa details { border-bottom: 1px solid var(--lp-line); }
.mk-lp-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
  list-style: none;
  cursor: pointer;
}
.mk-lp-qa summary::-webkit-details-marker { display: none; }
.mk-lp-qa summary:hover { color: var(--lp-blue); }
.mk-lp-qa-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--lp-line);
  border-radius: 50%;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.mk-lp-qa-icon::before,
.mk-lp-qa-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease;
}
.mk-lp-qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.mk-lp-qa details[open] .mk-lp-qa-icon { border-color: var(--lp-blue); background: var(--lp-blue); color: #FFFFFF; }
.mk-lp-qa details[open] .mk-lp-qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.mk-lp-qa details p {
  max-width: 44rem;
  margin: -6px 0 0;
  padding: 0 52px 24px 4px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lp-muted);
}

/* ---- Sticky bar ---- */
.mk-lp-bar[hidden] { display: none; }
.mk-lp-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  border-top: 1px solid var(--lp-line, #E4E6EB);
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 -10px 30px -18px rgb(24 32 33 / 0.3);
  transform: translateY(105%);
  transition: transform 260ms ease;
}
.mk-lp-bar.is-shown { transform: none; }
.mk-lp-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--container-wide, 1240px), calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0;
}
.mk-lp-bar-links { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-lp-bar-links a {
  padding: 7px 12px;
  border-radius: 8px;
  color: #626968;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.mk-lp-bar-links a:hover,
.mk-lp-bar-links a[aria-current="true"] { background: #F4F5F3; color: #182021; }
.mk-lp-bar-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.mk-lp-bar-note { font-size: 13px; color: #626968; }
.mk-lp-bar .lx-btn { min-height: 42px; padding-inline: 18px; }
.mk-lp-bar-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #626968;
  cursor: pointer;
}
.mk-lp-bar-close:hover { background: #F4F5F3; color: #182021; }

/* ---- Narrower screens ---- */
@media (max-width: 1100px) {
  .mk-lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-lp-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-lp-bar-links { display: none; }
}
@media (max-width: 900px) {
  .mk-lp-feature-grid,
  .mk-lp-feature--flip .mk-lp-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-lp-feature--flip .mk-lp-feature-media { order: 0; }
  .mk-lp-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .mk-lp-hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .mk-lp-stage { height: 420px; padding: 22px 16px 0; border-radius: 20px 20px 0 0; }
  .mk-lp-stage.has-detail .mk-lp-stage-main { width: 100%; }
  .mk-lp-stage-detail { right: 12px; bottom: 16px; width: 52%; border-radius: 10px; }
  .mk-lp-stage.is-left .mk-lp-stage-detail { left: 12px; }
  .mk-lp-stage.is-low .mk-lp-stage-detail { top: auto; bottom: 16px; width: 52%; }
  .mk-lp-table { min-width: 0; font-size: 13px; }
  .mk-lp-table th,
  .mk-lp-table td { padding: 12px 6px; }
  .mk-lp-table thead th { font-size: 13px; }
  .mk-lp-table tbody th { width: 38%; }
  .mk-lp-yes .mk-lp-check { width: 20px; height: 20px; }
  .mk-lp-ctas .lx-btn { flex: 1 1 100%; justify-content: center; }
  .mk-lp-trust { gap: 8px 18px; font-size: 13px; }
  .mk-lp-works ul { gap: 12px 22px; }
  .mk-lp-works span { display: none; }
  .mk-lp-steps { grid-template-columns: minmax(0, 1fr); }
  .mk-lp-steps .mk-hk-card .lx-sol-stage { --hk-h: 140px; --hk-z: 0.72; }
  .mk-lp-tiers { grid-template-columns: minmax(0, 1fr); }
  /* Cards go compact on phones: icon on the left, words beside it. */
  .mk-lp-cards { gap: 10px; }
  .mk-lp-cards li { padding: 16px 16px 18px; border-radius: 14px; }
  .mk-lp-cards li:has(.mk-lp-card-icon) { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .mk-lp-card-icon { grid-row: span 2; width: 36px; height: 36px; margin: 0; border-radius: 9px; }
  .mk-lp-card-icon svg { width: 19px; height: 19px; }
  .mk-lp-cards h3 { margin: 6px 0 4px; font-size: 1rem; }
  .mk-lp-cards p { font-size: 0.875rem; line-height: 1.55; }
  .mk-lp-fact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mk-lp-bar-note { display: none; }
  .mk-lp-bar-end { flex: 1; }
  .mk-lp-bar .lx-btn { flex: 1; justify-content: center; }
}
