/* ==========================================================================
   Mankai CRM Marketing - Site Component System (lx-)
   v9 permanent redesign. Inset rounded panels, solid surfaces, real product
   screenshots, Inter type. No glassmorphism. All values come from tokens.css.

   Index:
     1. Base + helpers          8. Feature tabs
     2. Buttons                 9. Dark finance band
     3. Header + nav           10. Split showcases (galleries, portal, wp)
     4. Hero                   11. Automation grid + integrations
     5. Frames (browser/phone) 12. Phones (mobile PWA)
     6. Marquee                13. Pricing + setup + compare
     7. Bento                  14. Founder, FAQ, final CTA, footer
                               15. Lightbox, sticky CTA, reveals, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base + helpers
   -------------------------------------------------------------------------- */
.lx-container { width: var(--container); max-width: 100%; margin-inline: auto; }
.lx-container--wide { width: var(--container-wide); max-width: 100%; }

/* Compat: legacy mk-btn rows still layout like lx-btn-row while pages migrate. */
.mk-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Prevent screenshot sliders / wide media from forcing page-level horizontal scroll. */
html {
  overflow-x: clip;
  max-width: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
#mk-content {
  overflow-x: clip;
  max-width: 100%;
}

.lx-section { padding-block: var(--section-pad); }
.lx-section--tight { padding-block: calc(var(--section-pad) * 0.66); }

/* Panels: full-bleed by default (homepage system). Night keeps charcoal. */
.lx-panel {
  margin-inline: 0;
  border-radius: 0;
}
.lx-panel--dark {
  background: var(--night);
  color: var(--night-ink);
}
/* Legacy panel tints → flat white / cool gray (homepage system) */
.lx-panel--cream,
.lx-panel--mist,
.lx-panel--blush,
.lx-panel--sand,
.lx-panel--light {
  background: var(--paper);
  color: var(--ink);
}

.lx-section--white,
.lx-section--cream,
.lx-section--mist,
.lx-section--blush,
.lx-section--sand {
  background: var(--paper);
}

/* Soft handoff behind dark finance panels - stay on white canvas */
.lx-band-fade--blush-to-white {
  background: var(--paper);
  padding: 0;
}
.lx-band-fade--blush-to-white > .lx-panel {
  margin-inline: 0;
  margin-bottom: 0;
  border-radius: 0;
}

#galleries.lx-section--cream,
#theme.lx-section--sand {
  background: var(--paper);
}
/* Section headings */
.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive, var(--gold-deep));
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lx-eyebrow .lx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive, var(--gold-deep));
  flex: 0 0 auto;
}
.lx-eyebrow--gold .lx-dot { background: var(--olive, var(--gold-deep)); }
.lx-eyebrow--onDark {
  background: transparent;
  border: 0;
  color: #B8BE9A;
}
.lx-eyebrow--onDark .lx-dot { background: #B8BE9A; }

.lx-head { max-width: 54rem; margin-bottom: clamp(36px, 4.5vw, 60px); }
.lx-head--center { margin-inline: auto; text-align: center; }
.lx-head .lx-eyebrow { margin-bottom: var(--space-4); }
.lx-h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.lx-sub {
  font-size: var(--text-lede);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 40rem;
}
.lx-head--center .lx-sub { margin-inline: auto; }
.lx-panel--dark .lx-h2 { color: var(--night-ink); }
.lx-panel--dark .lx-sub { color: var(--night-soft); }

/* Coral tilted highlight (homepage / brand emphasis) */
.lx-highlight {
  display: inline-block;
  padding: 0 0.16em;
  background: var(--accent-deep);
  color: #FFFFFF;
  border-radius: 5px;
  transform: rotate(-1deg);
}

.lx-fine {
  font-size: var(--text-caption);
  line-height: 1.55;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   2. Buttons â€” compact, no pill chrome / arrow chips
   -------------------------------------------------------------------------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 6px rgb(36 36 36 / 0.1), 0 8px 18px rgb(36 36 36 / 0.08);
  transition:
    background 180ms var(--ease-soft),
    color 180ms var(--ease-soft),
    border-color 180ms var(--ease-soft),
    box-shadow 180ms var(--ease-soft);
}
.lx-btn:hover {
  transform: none;
  box-shadow: 0 4px 10px rgb(36 36 36 / 0.12), 0 12px 24px rgb(36 36 36 / 0.12);
}
.lx-btn:active {
  transform: none;
  box-shadow: 0 1px 3px rgb(36 36 36 / 0.1), 0 4px 10px rgb(36 36 36 / 0.08);
}
.lx-btn .lx-arrow {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent !important;
  font-size: 1em;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform 180ms var(--ease-soft);
}
.lx-btn:hover .lx-arrow { transform: translateX(2px); }

.lx-btn--primary {
  background: var(--accent-deep);
  color: #FFFFFF;
  border-color: var(--accent-deep);
  box-shadow: 0 2px 8px rgb(36 73 232 / 0.28), 0 10px 22px rgb(36 73 232 / 0.18);
}
.lx-btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgb(22 53 181 / 0.32), 0 14px 28px rgb(22 53 181 / 0.22);
}
.lx-btn--primary .lx-arrow { color: #FFFFFF; }
/* Anchors with inherited parent color must keep white labels */
a.lx-btn--primary,
a.lx-btn--primary:hover,
a.lx-btn--ink,
a.lx-btn--ink:hover { color: #FFFFFF; }

.lx-btn--ink {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgb(36 36 36 / 0.22), 0 10px 22px rgb(36 36 36 / 0.16);
}
.lx-btn--ink:hover {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgb(36 36 36 / 0.26), 0 14px 28px rgb(36 36 36 / 0.2);
}
.lx-btn--ink .lx-arrow { color: #FFFFFF; }

.lx-btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}
.lx-btn--ghost:hover {
  border-color: var(--ink);
  color: #FFFFFF;
  background: var(--ink);
  box-shadow: none;
}
.lx-btn--ghost .lx-arrow { color: var(--ink); }
.lx-btn--ghost:hover .lx-arrow { color: #FFFFFF; }

.lx-btn--light {
  background: var(--paper-bright);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 2px 8px rgb(42 42 42 / 0.08), 0 10px 22px rgb(42 42 42 / 0.08);
}
.lx-btn--light:hover {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 4px 12px rgb(42 42 42 / 0.1), 0 14px 28px rgb(42 42 42 / 0.1);
}
.lx-btn--light .lx-arrow { color: var(--ink); }
.lx-btn--light:hover .lx-arrow { color: var(--ink); }

.lx-btn--sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: var(--text-caption);
}
.lx-btn--sm .lx-arrow { font-size: 1em; }

.lx-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   3. Header + navigation (white bar, gray pills, thin deal strip)
   -------------------------------------------------------------------------- */
:root {
  --util-h: 30px;
  --header-stack: calc(var(--util-h) + var(--header-h));
}

.mk-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--speed) var(--ease-soft);
}
.mk-header.is-scrolled { box-shadow: var(--shadow-s); }

body.mk-home .mk-header,
body.mk-hybrid-home .mk-header,
body.mk-hybrid-home .mk-header.is-scrolled {
  background: #FFFFFF;
  border-bottom-color: var(--line);
}

.lx-util {
  display: block;
  background: #1A1A1A;
  color: #FFFFFF;
  text-decoration: none;
}
.lx-util:hover,
.lx-util:focus-visible {
  color: #FFFFFF;
  background: #222222;
}
.lx-util-inner {
  width: var(--container-wide);
  margin-inline: auto;
  min-height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
}
.lx-util-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #1A1A1A;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lx-util-copy {
  min-width: 0;
  white-space: nowrap;
}
.lx-util-copy--short { display: none; }
.lx-util-cta {
  flex: 0 0 auto;
  font-weight: 650;
  white-space: nowrap;
}
.lx-util:hover .lx-util-cta { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) {
  :root { --util-h: 28px; }
  .lx-util-inner { width: 100%; padding-inline: var(--page-gutter); }
  .lx-util-copy--full { display: none; }
  .lx-util-copy--short { display: inline; }
}
@media (max-width: 560px) {
  .lx-util-cta { display: none; }
}

.lx-header-bar {
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.lx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 0;
  justify-self: start;
}
.lx-brand:hover { color: var(--ink); }
.lx-brand img { width: 34px; height: 34px; display: block; flex: 0 0 auto; }
.lx-brand-name {
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.2rem;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}
.lx-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: center;
  grid-column: 2;
}
.lx-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 6px 11px;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease-soft), color var(--speed) var(--ease-soft);
}
.lx-nav > a:hover,
.lx-nav > a:focus-visible {
  background: #F2F2F2;
  color: var(--ink);
}
.lx-nav > a.is-active {
  background: #E8E8E8;
  color: var(--ink);
}
.lx-nav-caret {
  display: block;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  transition: transform var(--speed) var(--ease-out);
}
.lx-nav-drop.is-open .lx-nav-caret { transform: rotate(180deg); }

/* Features: one full-width mega. */
.lx-nav-drop { position: static; }
.lx-nav-features-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 6px 11px;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease-soft), color var(--speed) var(--ease-soft);
}
.lx-nav-features-btn:hover,
.lx-nav-features-btn:focus-visible {
  background: #F2F2F2;
  color: var(--ink);
}
.lx-nav-features-btn.is-active,
.lx-nav-drop.is-open .lx-nav-features-btn {
  background: #E8E8E8;
  color: var(--ink);
}

.lx-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: var(--container-wide);
  background: var(--paper-raised);
  border: 1px solid rgb(24 32 33 / 0.08);
  border-radius: var(--radius-l);
  box-shadow:
    0 1px 2px rgb(24 32 33 / 0.08),
    0 8px 24px rgb(24 32 33 / 0.1),
    0 24px 48px rgb(24 32 33 / 0.14),
    0 48px 96px -12px rgb(24 32 33 / 0.22);
  padding: clamp(22px, 2.2vw, 32px) clamp(22px, 2.2vw, 36px) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out), visibility 0s linear var(--speed);
  max-height: calc(100vh - var(--header-h) - 28px);
  overflow-y: auto;
  z-index: 120;
}
.lx-nav-drop.is-open .lx-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.lx-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4) clamp(20px, 2.4vw, 36px);
}
.lx-mega-group h4 {
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-small);
  font-weight: 680;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}
.lx-mega-group ul { list-style: none; margin: 0; padding: 0; }
.lx-mega-group li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  margin-inline: -10px;
  border-radius: var(--radius-s);
  transition: background var(--speed) var(--ease-soft);
}
.lx-mega-group li a:hover,
.lx-mega-group li a:focus-visible { background: var(--paper-sunken); }
.lx-mega-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-blue);
  color: #FFFFFF;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lx-mega-icon svg { width: 16px; height: 16px; }
/* Solid per-feature icon colors (no wash / glass). */
.lx-mega-icon:has([data-icon="dashboard"]) { background: var(--mk-blue); }
.lx-mega-icon:has([data-icon="clients"]) { background: #3B6B8C; }
.lx-mega-icon:has([data-icon="sessions"]) { background: #8A9168; }
.lx-mega-icon:has([data-icon="calendar"]) { background: #3EB670; }
.lx-mega-icon:has([data-icon="availability"]) { background: #C48A2E; }
.lx-mega-icon:has([data-icon="inbox"]) { background: #3D7A8C; }
.lx-mega-icon:has([data-icon="email"]) { background: #C45C3E; }
.lx-mega-icon:has([data-icon="forms"]) { background: #5A7D5A; }
.lx-mega-icon:has([data-icon="documents"]) { background: #6B5B4F; }
.lx-mega-icon:has([data-icon="quotes"]) { background: #B84F4B; }
.lx-mega-icon:has([data-icon="invoices"]) { background: #2E7D6B; }
.lx-mega-icon:has([data-icon="payments"]) { background: #1F7A4D; }
.lx-mega-icon:has([data-icon="retainers"]) { background: #B86B3A; }
.lx-mega-icon:has([data-icon="expenses"]) { background: #8B5A2B; }
.lx-mega-icon:has([data-icon="coupons"]) { background: #B85A6A; }
.lx-mega-icon:has([data-icon="galleries"]) { background: #4A6FA5; }
.lx-mega-icon:has([data-icon="media"]) { background: #5C7A6B; }
.lx-mega-icon:has([data-icon="portal"]) { background: #2F5D7A; }
.lx-mega-icon:has([data-icon="print"]) { background: #7A5C3E; }
.lx-mega-icon:has([data-icon="workflows"]) { background: #A34533; }
.lx-mega-icon:has([data-icon="website"]) { background: #35607A; }
.lx-mega-icon:has([data-icon="portfolio"]) { background: #D08A3E; }
.lx-mega-icon:has([data-icon="branding"]) { background: #A34533; }
.lx-mega-icon:has([data-icon="mobile"]) { background: #242424; }
.lx-mega-icon:has([data-icon="wordpress"]) { background: #21759B; }
.lx-mega-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lx-mega-text strong { font-size: var(--text-small); font-weight: 640; color: var(--ink); line-height: 1.3; }
.lx-mega-text small {
  font-size: var(--text-caption);
  color: var(--ink-soft);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lx-mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin: var(--space-5) calc(-1 * clamp(22px, 2.2vw, 36px)) 0;
  padding: 14px clamp(22px, 2.2vw, 36px);
  background: var(--ink);
  border-top: 0;
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  font-size: var(--text-small);
  color: #FFFFFF;
}
.lx-mega-foot a { font-weight: 640; color: #FFFFFF; }
.lx-mega-foot a:hover,
.lx-mega-foot a:focus-visible { color: var(--accent); }

@media (max-width: 1100px) {
  .lx-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lx-mega-grid { grid-template-columns: 1fr; }
}

.lx-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
  grid-column: 3;
}
.lx-login-drop {
  position: relative;
}
.lx-header-actions .lx-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease-soft), color var(--speed) var(--ease-soft);
}
.lx-header-actions .lx-login:hover,
.lx-header-actions .lx-login:focus-visible {
  background: #F2F2F2;
  color: var(--ink);
}
.lx-login-drop.is-open .lx-login { color: var(--ink); }
.lx-login-drop.is-open .lx-nav-caret { transform: rotate(180deg); }
.lx-login-flyout {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: translateY(6px);
  width: min(320px, calc(100vw - 32px));
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out), visibility 0s linear var(--speed);
  z-index: 140;
}
.lx-login-drop.is-open .lx-login-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.lx-login-flyout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}
.lx-login-flyout-item:hover,
.lx-login-flyout-item:focus-visible {
  background: var(--paper-sunken);
  color: var(--ink);
}
.lx-login-flyout-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3B6B8C;
  color: #FFFFFF;
}
.lx-login-flyout-item:nth-child(2) .lx-login-flyout-icon {
  background: #2E7D6B;
}
.lx-login-flyout-icon svg {
  display: block;
}
.lx-login-flyout-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.lx-login-flyout-item strong,
.lx-login-flyout-copy strong {
  display: block;
  font-size: var(--text-small);
  font-weight: 680;
  line-height: 1.3;
}
.lx-login-flyout-item small,
.lx-login-flyout-copy small {
  display: block;
  margin-top: 2px;
  font-size: var(--text-caption);
  color: var(--ink-faint);
  line-height: 1.35;
}
.lx-login-flyout-item .lx-nav-flyout-chevron {
  margin-left: auto;
}
.lx-header-actions .lx-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: var(--text-caption);
}

.mk-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease-soft);
}
.mk-nav-toggle:hover,
.mk-nav-toggle:focus-visible,
.mk-nav-toggle[aria-expanded="true"] {
  background: #F2F2F2;
}

/* Mobile sheet: expandable Features directory */
.lx-sheet-features,
.lx-sheet-login { border-bottom: 1px solid var(--line); }
.lx-sheet-features > summary,
.lx-sheet-login > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-2);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 660;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.lx-sheet-features > summary::-webkit-details-marker,
.lx-sheet-login > summary::-webkit-details-marker { display: none; }
.lx-sheet-features > summary svg,
.lx-sheet-login > summary svg { transition: transform var(--speed) var(--ease-out); }
.lx-sheet-features[open] > summary svg,
.lx-sheet-login[open] > summary svg { transform: rotate(180deg); }
.lx-sheet-features-body { padding: 0 var(--space-2) var(--space-4); }
.lx-sheet-login-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--space-2) var(--space-4);
}
.lx-sheet-login-body a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.lx-sheet-login-body a:last-child { border-bottom: 0; }
.lx-sheet-login-body a:first-child .lx-login-flyout-icon { background: #3B6B8C; color: #FFFFFF; }
.lx-sheet-login-body a:nth-child(2) .lx-login-flyout-icon { background: #2E7D6B; color: #FFFFFF; }
.lx-sheet-login-body .lx-login-flyout-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.lx-sheet-login-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 640;
  line-height: 1.3;
}
.lx-sheet-login-body small {
  display: block;
  margin-top: 2px;
  font-size: var(--text-caption);
  color: var(--ink-faint);
  line-height: 1.35;
  font-weight: 500;
}
.lx-sheet-login-body > a > svg:last-child {
  flex: 0 0 auto;
  color: var(--ink-faint);
  margin-left: auto;
}
.lx-sheet-cat {
  border-bottom: 1px solid var(--line);
}
.lx-sheet-cat > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 640;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.lx-sheet-cat > summary::-webkit-details-marker { display: none; }
.lx-sheet-cat > summary svg {
  flex: 0 0 auto;
  color: var(--ink-faint);
  transition: transform var(--speed) var(--ease-out);
}
.lx-sheet-cat[open] > summary svg { transform: rotate(180deg); }
.lx-sheet-cat-body {
  display: flex;
  flex-direction: column;
  padding: 0 0 var(--space-3);
}
.lx-sheet-group-label {
  margin: var(--space-3) 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.lx-sheet-group-label:first-child { margin-top: 0; }

/* Reset giant .mk-sheet-nav a styles for nested feature rows. */
.mk-sheet-nav .lx-sheet-feature,
.mk-sheet-nav .lx-sheet-all {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  border-bottom: 0;
  opacity: 1;
  transform: none;
  transition: color var(--speed) var(--ease-soft);
}
.mk-sheet.is-open .mk-sheet-nav .lx-sheet-feature,
.mk-sheet.is-open .mk-sheet-nav .lx-sheet-all {
  opacity: 1;
  transform: none;
  transition: color var(--speed) var(--ease-soft);
}
.mk-sheet-nav > a {
  border-radius: 12px;
  border-bottom-color: transparent;
  padding-inline: 12px;
  transition: background var(--speed) var(--ease-soft);
}
.mk-sheet-nav > a:hover,
.mk-sheet-nav > a:focus-visible {
  background: #F2F2F2;
}
.mk-sheet-nav > a.is-active,
.mk-sheet-nav > a[aria-current="page"] {
  background: #E8E8E8;
  color: var(--ink);
}
.lx-sheet-features.is-active > summary {
  background: #E8E8E8;
  border-radius: 12px;
}
.mk-sheet-nav .lx-sheet-feature:hover,
.mk-sheet-nav .lx-sheet-all:hover { color: var(--ink); }
.mk-sheet-nav .lx-sheet-feature .lx-mega-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}
.mk-sheet-nav .lx-sheet-feature .lx-mega-icon svg { width: 16px; height: 16px; }
.lx-sheet-feature-label {
  min-width: 0;
  flex: 1 1 auto;
  text-wrap: balance;
}
.mk-sheet-nav .lx-sheet-all {
  font-weight: 660;
  color: var(--accent-deep);
  margin-top: var(--space-3);
  padding-block: 12px;
}

@media (max-width: 1080px) {
  .lx-nav { display: none; }
  .mk-nav-toggle { display: inline-flex; }
  .lx-header-actions .lx-login { display: none; }
  .lx-header-bar {
    width: 100%;
    padding-inline: var(--page-gutter);
    grid-template-columns: 1fr auto;
  }
  .lx-header-actions { grid-column: 2; }
}
@media (max-width: 560px) {
  .lx-header-actions .lx-btn { min-height: 38px; padding: 8px 12px; font-size: var(--text-caption); }
}
@media (max-width: 420px) {
  .lx-brand { gap: 8px; }
  .lx-brand img { width: 30px; height: 30px; }
  .lx-brand-name { font-size: 1.12rem; }
}

/* --------------------------------------------------------------------------
   4. Hero (full-bleed light section - large, confident, no rounded shell)
   -------------------------------------------------------------------------- */
.lx-hero {
  position: relative;
  margin: calc(-1 * var(--header-h)) 0 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(24px, 3.5vw, 48px)) 0 0;
}
.lx-hero-inner {
  width: min(980px, calc(100% - (2 * var(--page-gutter))));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  font-size: var(--text-eyebrow);
  font-weight: 660;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-5);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lx-hero-badge .lx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.lx-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  max-width: 13ch;
  text-wrap: balance;
}
.lx-hero-sub {
  font-size: clamp(1.12rem, 1.55vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 var(--space-5);
}
.lx-hero-line {
  display: inline-block;
  margin-top: 0.45em;
  color: var(--ink);
  font-weight: 620;
}
.lx-hero .lx-btn-row {
  justify-content: center;
  margin-bottom: var(--space-4);
  gap: var(--space-3);
}
.lx-hero .lx-btn {
  min-height: 54px;
  padding-inline: 24px;
  font-size: 1.05rem;
}
.lx-hero-founder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 auto clamp(22px, 3vw, 36px);
  max-width: 34rem;
  text-align: left;
}
.lx-hero-founder img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lx-hero-founder strong { color: var(--ink); font-weight: 650; }

/* Hero product stage: laptop frame + scroll tilt */
.lx-hero-stage {
  position: relative;
  width: var(--container-wide);
  margin: 0 auto;
  padding: 24px 0 40px;
  perspective: 2400px;
  perspective-origin: 50% 35%;
}
.lx-laptop {
  --hero-tilt: 22deg;
  position: relative;
  width: 100%;
  margin: 0 auto;
  transform: rotateX(var(--hero-tilt));
  transform-origin: center bottom;
  will-change: transform;
}
.lx-laptop-screen {
  position: relative;
  background: #fff;
  border: 1px solid var(--mk-image-border);
  border-radius: 14px;
  padding: 5px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.85) inset,
    0 1px 2px rgb(0 0 0 / 0.05),
    0 28px 56px -32px rgb(0 0 0 / 0.28);
}
.lx-laptop-display {
  position: relative;
  overflow: hidden;
  background: var(--mk-soft);
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06) inset;
}
.lx-laptop-display img,
.lx-laptop-display picture {
  display: block;
  width: 100%;
  height: 100%;
}
.lx-laptop-display img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: left top;
}
.lx-hero-shot {
  margin: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--paper-bright);
}
.lx-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .lx-hero { padding-top: calc(var(--header-h) + 22px); }
  .lx-hero h1 { font-size: clamp(2.55rem, 11vw, 3.25rem); max-width: 11ch; }
  .lx-hero-inner {
    width: calc(100% - (2 * var(--page-gutter)));
    padding-inline: 0;
  }
  .lx-hero-sub {
    font-size: 1.08rem;
    max-width: none;
    padding-inline: 2px;
    overflow-wrap: anywhere;
  }
  .lx-hero .lx-btn-row {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .lx-hero .lx-btn-row .lx-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 8px 12px;
    font-size: var(--text-caption);
    white-space: nowrap;
  }
  .lx-hero-stage { padding: 20px 0 32px; }
  .lx-laptop { --hero-tilt: 14deg; }
  .lx-hero-founder { margin-bottom: 18px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-laptop { --hero-tilt: 6deg !important; }
}

/* --------------------------------------------------------------------------
   5. Screenshot frames â€” compact modern window chrome
   -------------------------------------------------------------------------- */
.lx-frame {
  background: var(--paper-bright);
  border: 1px solid rgb(36 36 36 / 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.2), 0 22px 48px -20px rgb(0 0 0 / 0.45);
}
.lx-frame-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 44px;
  background: #E8E4DC;
  border-bottom: 1px solid rgb(36 36 36 / 0.1);
}
.lx-frame-dots {
  position: absolute;
  left: 14px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateY(-50%);
}
.lx-frame-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(36 36 36 / 0.18);
}
.lx-frame-url {
  display: block;
  max-width: min(420px, 72%);
  margin: 0;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: rgb(36 36 36 / 0.06);
  box-shadow: none;
  font-size: 12px;
  font-weight: 530;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lx-frame img { display: block; width: 100%; height: auto; }

/* Legacy class maps to the same modern chrome. */
.lx-frame--dark { border-color: rgb(36 36 36 / 0.1); }
.lx-frame--dark .lx-frame-bar {
  background: #E8E4DC;
  border-color: rgb(36 36 36 / 0.07);
}
.lx-frame--dark .lx-frame-dots span { background: rgb(36 36 36 / 0.18); }
.lx-frame--dark .lx-frame-url {
  background: rgb(36 36 36 / 0.06);
  border: 0;
  color: var(--ink-soft);
}

/* Plain shot (no chrome) */
.lx-shot {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper-raised);
  box-shadow: var(--shadow-s);
}
.lx-shot img { display: block; width: 100%; height: auto; }

/* Phone frame */
.lx-phone {
  border: 6px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-l);
}
.lx-phone img { display: block; width: 100%; height: auto; border-radius: 28px; }

.lx-frame-note {
  margin-top: var(--space-3);
  font-size: var(--text-caption);
  color: var(--ink-faint);
  text-align: center;
}

/* Lightbox affordance */
.lx-zoom { position: relative; cursor: zoom-in; }
.lx-zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   6. Capability marquee â€” bold ticker on white, no pills
   -------------------------------------------------------------------------- */
.lx-marquee {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: var(--paper-raised);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.lx-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
}
html.hx-motion .lx-marquee-track { animation: lx-marquee 50s linear infinite; }
.lx-marquee:hover .lx-marquee-track { animation-play-state: paused; }
.lx-marquee .lx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 680;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.lx-marquee .lx-chip::before { content: none; }
.lx-marquee .lx-chip::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 1.35em;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: 0 0 auto;
  opacity: 0.9;
}
.lx-marquee .lx-chip:nth-child(3n)::after { background: var(--gold); }
.lx-marquee .lx-chip:nth-child(3n + 2)::after { background: var(--ink-faint); }
@keyframes lx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  html.hx-motion .lx-marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   7. Bento (core platform)
   -------------------------------------------------------------------------- */
.lx-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}
.lx-card {
  position: relative;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  box-shadow: none;
  transition: background var(--speed) var(--ease-soft), border-color var(--speed) var(--ease-soft);
}
.lx-card:hover {
  transform: none;
  box-shadow: none;
  background: var(--paper-sunken);
  border-color: var(--line-strong);
}
.lx-card--cream,
.lx-card--blush,
.lx-card--mist,
.lx-card--sand {
  background: var(--paper);
}
.lx-card--night {
  background: var(--night);
  border-color: var(--night-line);
  color: var(--night-ink);
}
.lx-card.lx-card--night h3 { color: #FFFFFF; }
.lx-card.lx-card--night > p { color: var(--night-soft); }
.lx-span-7 { grid-column: span 7; }
.lx-span-5 { grid-column: span 5; }
.lx-span-4 { grid-column: span 4; }
.lx-span-6 { grid-column: span 6; }
.lx-card-kicker {
  font-size: var(--text-eyebrow);
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.lx-card--night .lx-card-kicker { color: var(--mk-dark-muted); }
.lx-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.16;
  color: var(--ink);
  margin: 0;
}
.lx-card > p {
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34rem;
}
.lx-card-media {
  margin-top: auto;
  padding-top: var(--space-4);
}
.lx-card-media .lx-shot,
.lx-card-media .lx-frame { box-shadow: var(--shadow-s); }
.lx-bento-cta { margin-top: var(--space-6); text-align: center; }

/* --------------------------------------------------------------------------
   8. Feature tabs
   -------------------------------------------------------------------------- */
.lx-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  margin-bottom: var(--space-6);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.lx-tab-btn {
  position: relative;
  padding: 10px 14px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 520;
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: none;
  transition: color var(--speed) var(--ease-soft);
}
.lx-tab-btn:hover {
  color: var(--ink);
  background: transparent;
  border: 0;
}
.lx-tab-btn[aria-selected="true"] {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 650;
  box-shadow: none;
}
.lx-tab-btn[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}
.lx-tab-panel { display: none; }
.lx-tab-panel.is-active { display: grid; }
html.hx-motion .lx-tab-panel.is-active { animation: lx-tab-in 320ms var(--ease-out); }
@keyframes lx-tab-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.lx-tab-panel {
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.lx-tab-copy h3 {
  font-size: var(--text-h3);
  font-weight: 720;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
.lx-tab-copy p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 var(--space-4);
}

/* Checklist (shared) â€” crisp coral check, no badge theater */
.lx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lx-list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--ink-soft);
}
.lx-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8.2L6.1 12 13.5 3.8' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8.2L6.1 12 13.5 3.8' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 1;
}
.lx-list li::after { content: none; display: none; }
.lx-panel--dark .lx-list li { color: var(--night-soft); }
.lx-panel--dark .lx-list li::before { background-color: var(--mk-dark-accent); }

/* --------------------------------------------------------------------------
   9. Dark finance band
   -------------------------------------------------------------------------- */
.lx-finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
  gap: var(--space-5);
  align-items: stretch;
}
.lx-finance-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.lx-finance-side .lx-shot { border-color: var(--line); box-shadow: none; }
.lx-finance-foot {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.lx-finance-foot .lx-mini {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-raised);
}
.lx-mini strong { display: block; color: var(--ink); font-weight: 660; font-size: var(--text-small); margin-bottom: 4px; }
.lx-mini span { font-size: var(--text-caption); color: var(--ink-soft); line-height: 1.5; display: block; }
.lx-panel--dark .lx-finance-foot .lx-mini {
  background: var(--night-raised);
  border-color: var(--night-line);
}
.lx-panel--dark .lx-mini strong { color: #FFFFFF; }
.lx-panel--dark .lx-mini span { color: var(--night-soft); }

/* --------------------------------------------------------------------------
   10. Split showcases
   -------------------------------------------------------------------------- */
.lx-split {
  display: grid;
  grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.lx-split--copy-first { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); }
.lx-split--copy-first .lx-split-media { order: 2; }
.lx-split-media,
.lx-split-copy { min-width: 0; max-width: 100%; }
.lx-split-copy .lx-eyebrow { margin-bottom: var(--space-4); }
.lx-split-copy h2 {
  font-size: var(--text-h2);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.026em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.lx-split-copy > p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
  max-width: 34rem;
}
.lx-split-copy .lx-list { margin-bottom: var(--space-5); }

/* Small crops row under a split */
.lx-crops {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.lx-crops figure { margin: 0; }
.lx-crops figcaption {
  margin-top: var(--space-2);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. Automation grid + integrations
   -------------------------------------------------------------------------- */
.lx-fgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.lx-fgrid .lx-card { padding: 0; }
.lx-fgrid .lx-card .lx-fgrid-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.lx-fgrid .lx-shot { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
.lx-fgrid h3 { font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   12. Mobile PWA â€” inset mist panel + phone fan with depth
   -------------------------------------------------------------------------- */
.lx-mobile-band.lx-panel {
  position: relative;
  overflow: visible;
  background: var(--mist);
  color: var(--ink);
  padding-bottom: clamp(56px, 6vw, 88px);
}
.lx-mobile-band::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 0;
  width: min(900px, 92vw);
  height: min(480px, 58vw);
  transform: translate(-50%, -42%);
  background:
    radial-gradient(ellipse at 50% 42%, rgb(24 32 33 / 0.08) 0%, transparent 62%),
    radial-gradient(ellipse at 28% 62%, rgb(36 73 232 / 0.05) 0%, transparent 55%);
  pointer-events: none;
}
.lx-mobile-band > .lx-container {
  position: relative;
  z-index: 1;
}
.lx-mobile-band-head {
  max-width: 40rem;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.lx-mobile-band-head .lx-h2 {
  letter-spacing: -0.032em;
}
.lx-mobile-band-head .lx-sub {
  max-width: 34rem;
}

.lx-phones-slider {
  margin-top: 0;
  overflow: visible;
  padding-bottom: var(--space-2);
}
.lx-phone { width: 100%; }
.lx-phone-caption {
  position: relative;
  z-index: 2;
  margin-top: var(--space-5);
  text-align: center;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}
.lx-mobile-band .lx-phone-caption {
  color: var(--ink-soft);
}

/* Small screens: one phone at a time */
.lx-phones-slider .lx-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
}
.lx-phones-slider .lx-phone {
  width: min(280px, 72vw);
  margin-inline: auto;
  border-width: 5px;
  border-radius: 36px;
  /* Tight shadow â€” stays under the device, not the caption */
  box-shadow:
    0 14px 24px -14px rgb(36 36 36 / 0.28),
    0 4px 10px -4px rgb(36 36 36 / 0.14);
}
.lx-phones-slider .lx-phone img { border-radius: 30px; }
.lx-phones-slider .lx-slider-controls {
  margin-top: var(--space-6);
}
.lx-phones-slider .lx-slider-dots {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}

/* Desktop: angled fan, hero phone in the center */
@media (min-width: 761px) {
  .lx-phones-slider {
    overflow: visible;
  }
  .lx-phones-slider .lx-slider-viewport {
    overflow: visible;
    padding: 28px 0 12px;
  }
  .lx-phones-slider .lx-slider-track {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(8px, 1.6vw, 28px);
    width: auto;
    transform: none !important;
  }
  .lx-phones-slider .lx-slide {
    flex: 0 0 auto;
    width: min(236px, 21%);
    max-width: 236px;
    padding: 0;
    will-change: transform;
  }
  .lx-phones-slider .lx-slide:nth-child(1) {
    transform: rotate(-7deg) translateY(calc(18px + var(--lx-par-y, 0px)));
    z-index: 1;
  }
  .lx-phones-slider .lx-slide:nth-child(2) {
    width: min(300px, 27%);
    max-width: 300px;
    transform: translateY(calc(-18px + var(--lx-par-y, 0px)));
    z-index: 3;
  }
  .lx-phones-slider .lx-slide:nth-child(3) {
    transform: rotate(7deg) translateY(calc(18px + var(--lx-par-y, 0px)));
    z-index: 1;
  }
  .lx-phones-slider .lx-slide:nth-child(n + 4) { display: none; }
  .lx-phones-slider .lx-phone {
    width: 100%;
    border-width: 6px;
    box-shadow:
      0 16px 28px -16px rgb(36 36 36 / 0.3),
      0 5px 12px -5px rgb(36 36 36 / 0.14);
  }
  .lx-phones-slider .lx-slide:nth-child(2) .lx-phone {
    box-shadow:
      0 20px 34px -18px rgb(36 36 36 / 0.34),
      0 6px 14px -6px rgb(36 36 36 / 0.16);
  }
  .lx-phones-slider .lx-slide:nth-child(1) .lx-phone-caption,
  .lx-phones-slider .lx-slide:nth-child(3) .lx-phone-caption {
    opacity: 0.72;
  }
  .lx-phones-slider .lx-slider-controls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-phones-slider .lx-slide:nth-child(1),
  .lx-phones-slider .lx-slide:nth-child(2),
  .lx-phones-slider .lx-slide:nth-child(3) {
    transform: none;
    --lx-par-y: 0px;
  }
}

/* --------------------------------------------------------------------------
   13. Pricing + setup + compare
   -------------------------------------------------------------------------- */
.lx-pricing-band {
  background:
    radial-gradient(820px 360px at 80% -6%, rgb(187 197 191 / 0.16) 0%, transparent 60%),
    radial-gradient(640px 300px at 10% 108%, rgb(70 80 75 / 0.28) 0%, transparent 58%),
    linear-gradient(180deg, var(--night-raised) 0%, var(--night) 100%);
  color: var(--night-ink);
  border-color: var(--night-line);
}
.lx-pricing-band .lx-h2 { color: #FFFFFF; }
.lx-pricing-band .lx-sub {
  color: var(--night-soft);
  max-width: 40rem;
}
.lx-pricing-band .lx-pricing-foot { color: var(--night-faint); }
.lx-pricing-band .lx-pricing-foot a { color: #FFFFFF; }

/* Pricing page: card columns + mobile snap carousel */
.lx-pricing-band .lx-pricing-top {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.lx-pricing-band .lx-pricing-top .lx-eyebrow {
  color: var(--accent);
}
.lx-pricing-band .lx-pricing-top .lx-sub {
  margin-inline: auto;
}
.lx-pricing-band .lx-pricing-hint {
  display: none;
  margin: 0 0 12px;
  text-align: center;
  color: #9A9590;
  font-size: var(--text-caption);
}
.mk-pricing-carousel {
  width: 100%;
  margin: 0 0 clamp(28px, 4vw, 40px);
}
.mk-pricing-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.mk-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #3A3A3A;
  border-radius: 18px;
  background: #252525;
  color: #FFFFFF;
  overflow: hidden;
}
.mk-price-card-head {
  padding: 28px 18px 14px;
  text-align: center;
}
.lx-pricing-band .mk-price-card > .mk-card-tag {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 70%;
  margin: 0;
  padding: 11px 16px 11px 18px;
  border: 0;
  border-radius: 0 17px 0 16px;
  background: var(--ink);
  box-shadow: none;
  font-size: 0.68rem;
  font-weight: 740;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: #FFFFFF;
  transform: none;
}
.lx-pricing-band .mk-price-card.is-mankai > .mk-card-tag {
  background: #FFFFFF;
  color: var(--accent-deep);
}
.lx-pricing-band .mk-price-card.is-pixieset > .mk-card-tag {
  background: var(--olive);
  color: #FFFFFF;
}
.mk-price-card .lx-cmp-brand {
  display: block;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
}
.mk-price-card .lx-cmp-blurb {
  display: block;
  color: #B0ABA5;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  max-width: 22ch;
  margin-inline: auto;
}
.mk-price-card-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}
.mk-price-card-rows li {
  margin: 0;
  padding: 9px 18px;
  text-align: center;
  border-top: 1px dashed #4A4A4A;
}
.mk-price-card .mk-row-label {
  display: block;
  margin: 0 0 2px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9A9590;
}
.mk-price-card .mk-row-value {
  display: block;
  font-size: 0.88rem;
  font-weight: 560;
  line-height: 1.3;
  color: #FFFFFF;
}
.mk-price-card-foot {
  margin-top: auto;
  padding: 16px 18px 20px;
  border-top: 1px dashed #4A4A4A;
  text-align: center;
}
.mk-price-card.is-mankai {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #FFFFFF;
}
.mk-price-card.is-mankai .lx-cmp-blurb,
.mk-price-card.is-mankai .mk-row-label,
.mk-price-card.is-mankai .mk-card-price-sub {
  color: var(--mk-dark-accent);
}
.mk-price-card.is-mankai .mk-row-value {
  color: #FFFFFF;
}
.mk-price-card.is-mankai .mk-price-card-rows li,
.mk-price-card.is-mankai .mk-price-card-foot {
  border-top-color: #D46A56;
}
.mk-card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mk-card-price-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.mk-card-price--muted .mk-card-price-label {
  color: #B0ABA5;
}
.mk-card-price-figure {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.1;
}
.mk-card-price-sub {
  margin: -4px 0 0;
  font-size: 0.86rem;
  font-weight: 620;
  color: var(--mk-dark-accent);
}
.mk-card-price-note {
  margin: 0;
  max-width: 22ch;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #B0ABA5;
}
.mk-card-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 240px;
  margin-top: 4px;
}
.lx-pricing-band .mk-card-ctas .lx-btn,
.lx-pricing-band .mk-card-ctas button.lx-btn {
  appearance: none;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  font-family: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.lx-pricing-band .mk-card-ctas .lx-btn--primary,
.lx-pricing-band .mk-card-ctas button.lx-btn--primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 6px rgb(24 32 33 / 0.1), 0 8px 18px rgb(24 32 33 / 0.08);
}
.lx-pricing-band .mk-card-ctas .lx-btn--primary:hover,
.lx-pricing-band .mk-card-ctas button.lx-btn--primary:hover {
  background: var(--mk-soft);
  border-color: var(--mk-soft);
  color: var(--ink);
  box-shadow: 0 4px 10px rgb(24 32 33 / 0.12), 0 12px 24px rgb(24 32 33 / 0.12);
}
.lx-pricing-band .mk-card-ctas .lx-btn--primary .lx-arrow {
  color: inherit;
}
/* Mobile: one card at a time, snap to screen center */
@media (max-width: 720px) {
  .lx-pricing-band .lx-pricing-hint { display: block; }
  .mk-pricing-carousel {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .mk-pricing-track {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - min(86vw, 360px)) / 2);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-inline: calc((100vw - min(86vw, 360px)) / 2);
    padding-bottom: 6px;
  }
  .mk-pricing-track::-webkit-scrollbar { display: none; }
  .mk-price-card {
    flex: 0 0 min(86vw, 360px);
    width: min(86vw, 360px);
    max-width: min(86vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 16px;
  }
  .lx-pricing-band .mk-price-card > .mk-card-tag {
    border-radius: 0 16px 0 14px;
    padding: 10px 14px 10px 16px;
  }
  .mk-price-card-head {
    padding: 26px 16px 12px;
  }
  .mk-price-card-rows li {
    padding: 8px 14px;
  }
  .mk-price-card-foot {
    padding: 14px 16px 18px;
  }
  .mk-card-ctas {
    max-width: 100%;
  }
}
.lx-pricing-band .mk-pricing-note {
  margin-top: clamp(20px, 3vw, 32px);
  text-align: center;
  color: var(--night-faint);
}
.lx-pricing-band .mk-pricing-note a {
  color: #D0CBC2;
}
.lx-pricing-band .mk-pricing-note a:hover { color: #FFFFFF; }

/* Package picker modal (homepage plans on /pricing/) */
.mk-package-modal {
  --mk-package-bg: #1A1A1A;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--mk-package-bg);
  color: #FFFFFF;
  box-sizing: border-box;
}
.mk-package-modal[open] {
  display: flex;
  flex-direction: column;
}
.mk-package-modal::backdrop {
  background: var(--mk-package-bg);
}
.mk-package-modal-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: auto;
  background: var(--mk-package-bg);
}
.mk-package-modal-body {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(16px, 3vw, 40px) clamp(48px, 6vw, 72px);
  box-sizing: border-box;
  background: transparent;
}
.mk-package-modal .pricing-plans-block,
.mk-package-modal .plans {
  background: transparent;
}
.mk-package-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 40px);
}
.mk-package-modal-cancel {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #6A6A6A;
  border-radius: var(--radius-s, 10px);
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 180ms var(--ease-soft),
    border-color 180ms var(--ease-soft),
    color 180ms var(--ease-soft);
}
.mk-package-modal-cancel:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
}
.mk-package-modal-intro {
  max-width: 38rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}
.mk-package-modal-heading {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #FFFFFF;
}
.mk-package-modal-cta {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  color: #D0D0D0;
}
.mk-package-modal .billing-toggle {
  position: relative;
  z-index: 3;
  margin: 0 0 20px;
}
.mk-package-modal .plans {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-block: 36px;
  align-items: center;
  grid-template-columns: 1fr 1.18fr 1fr;
}
.mk-package-modal .plan--featured {
  margin-block: -36px;
  z-index: 1;
  padding: 64px 30px 60px;
}
.mk-package-modal .pricing-swipe-hint {
  color: #9A9590;
}
@media (max-width: 980px) {
  .mk-package-modal .plans {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-block: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
    align-items: stretch;
    grid-template-columns: none;
  }
  .mk-package-modal .plan,
  .mk-package-modal .plan--featured {
    margin-block: 0;
  }
}
html.mk-packages-open,
html.mk-packages-open body {
  overflow: hidden;
}

/* Plans: 3 columns by default; 4 when Photography Theme is expanded */
.lx-plans-wrap { width: 100%; }
.lx-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.lx-plans-wrap.is-theme-open .lx-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lx-plan--theme[hidden] { display: none !important; }
.lx-plans-theme-toggle {
  margin: var(--space-5) 0 0;
  text-align: center;
}
.lx-theme-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #A8A49C;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
}
.lx-theme-toggle-action {
  font-size: 0.8125rem;
  font-weight: 560;
  color: #D0CBC2;
  text-decoration: underline;
  text-decoration-color: rgb(208 213 224 / 0.5);
  text-underline-offset: 3px;
}
.lx-theme-toggle-hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9A968E;
}
.lx-theme-toggle:hover .lx-theme-toggle-action,
.lx-theme-toggle:focus-visible .lx-theme-toggle-action {
  color: #FFFFFF;
  text-decoration-color: rgb(255 255 255 / 0.55);
}
.lx-theme-toggle:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}
.lx-plans-wrap.is-theme-open .lx-theme-toggle-hint { display: none; }

/* Modern plan cards: title left / price right, CTA pinned bottom */
.lx-plan {
  background: var(--paper-raised);
  border-radius: calc(var(--radius-m) + 2px);
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 12px 28px -16px rgb(0 0 0 / 0.35);
  min-height: 100%;
  overflow: hidden;
}
.lx-plan-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  padding: 22px 22px 18px;
}
.lx-plan-foot {
  margin-top: auto;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
}
.lx-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lx-plan-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}
.lx-plan-titles h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 720;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.lx-plan-tab,
.lx-plan-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 2px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.2;
  color: #FFFFFF;
}
.lx-plan-tab { background: var(--accent); }
.lx-plan-label { background: #5A5854; }
.lx-plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  margin: 0;
  flex-shrink: 0;
  text-align: right;
  line-height: 1;
}
.lx-plan-price strong {
  font-size: clamp(1.55rem, 1.8vw, 1.85rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.lx-plan-price span {
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 560;
}
.lx-plan-for {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.lx-plan-save {
  margin: -6px 0 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--accent-deep);
  line-height: 1.35;
}
.lx-plan .lx-list {
  flex: 0 0 auto;
  gap: 8px;
  margin: 4px 0 0;
}
.lx-plan .lx-list li {
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.4;
  padding-left: 24px;
}
.lx-plan .lx-btn {
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
}
.lx-plan-more {
  margin: 0;
  font-size: 0.75rem;
}
.lx-plan-more a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lx-plan-more a:hover { color: var(--ink); }
.lx-plan-note {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}
.lx-plan-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 2) CRM â€” solid, secondary to Complete */
.lx-plan--core {
  box-shadow:
    0 14px 28px -14px rgb(0 0 0 / 0.38),
    0 4px 10px -6px rgb(0 0 0 / 0.18);
}
.lx-plan--core .lx-btn {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 650;
}
.lx-plan--core .lx-list li::before {
  background-color: var(--accent);
}

/* 1) Complete - primary / recommended */
.lx-plan--featured {
  position: relative;
  z-index: 2;
  border: 2px solid color-mix(in srgb, var(--accent) 88%, white);
  box-shadow:
    0 26px 48px -16px rgb(0 0 0 / 0.48),
    0 10px 22px -12px rgb(36 73 232 / 0.28);
  transform: translateY(-4px);
}
.lx-plan--featured .lx-plan-titles h3 { font-size: 1.1rem; }
.lx-plan--featured .lx-plan-price strong {
  font-size: clamp(1.7rem, 2vw, 2rem);
  color: var(--accent-deep);
}
.lx-plan--featured .lx-plan-for { color: var(--ink); }
.lx-plan--featured .lx-btn--primary { min-height: 46px; font-weight: 700; }
.lx-plan--featured .lx-list li::before {
  background-color: var(--accent);
}
.lx-plan--featured .lx-plan-foot {
  border-top-color: rgb(36 73 232 / 0.14);
}
@media (prefers-reduced-motion: reduce) {
  .lx-plan--featured { transform: none; }
}

/* 3) Theme â€” quieter add-on */
.lx-plan--theme {
  background: var(--paper-sunken);
  border-color: rgb(255 255 255 / 0.08);
  box-shadow:
    0 8px 18px -14px rgb(0 0 0 / 0.28),
    0 2px 6px -4px rgb(0 0 0 / 0.14);
}
.lx-plan--theme .lx-plan-titles h3 { font-size: 1rem; }
.lx-plan--theme .lx-plan-price strong {
  font-size: clamp(1.4rem, 1.7vw, 1.65rem);
}
.lx-plan--theme .lx-plan-for {
  font-size: 0.8125rem;
  line-height: 1.45;
}
.lx-plan--theme .lx-list { gap: 6px; }
.lx-plan--theme .lx-list li {
  font-size: 0.8125rem;
  padding-left: 22px;
  color: var(--ink-soft);
}
.lx-plan--theme .lx-list li::before {
  width: 12px;
  height: 12px;
  background-color: #7A8190;
}
.lx-plan--theme .lx-btn {
  border-color: rgb(36 36 36 / 0.22);
  color: var(--ink-soft);
}
.lx-plan--theme .lx-plan-foot {
  border-top-color: var(--line);
}

/* 4) Setup - service treatment */
.lx-plan--service {
  background: linear-gradient(165deg, var(--paper-raised) 0%, var(--paper) 100%);
  border-color: rgb(255 255 255 / 0.18);
  box-shadow:
    0 10px 22px -12px rgb(0 0 0 / 0.45),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
}
.lx-plan--service .lx-plan-titles h3 { color: #FFFFFF; font-size: 1rem; }
.lx-plan--service .lx-plan-label {
  background: var(--gold-deep);
  color: #FFFFFF;
}
.lx-plan--service .lx-plan-price strong { color: #FFFFFF; font-size: clamp(1.4rem, 1.7vw, 1.65rem); }
.lx-plan--service .lx-plan-price span { color: #D8D4CC; }
.lx-plan--service .lx-plan-for { color: #EDE9E3; font-size: 0.8125rem; }
.lx-plan--service .lx-list { gap: 6px; }
.lx-plan--service .lx-list li {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  padding-left: 22px;
  line-height: 1.45;
}
.lx-plan--service .lx-list li::before {
  width: 12px;
  height: 12px;
  background-color: var(--gold);
}
.lx-plan--service .lx-btn {
  background: transparent;
  color: #FFFFFF;
  border-color: rgb(255 255 255 / 0.45);
}
.lx-plan--service .lx-btn:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.65);
}
.lx-plan--service .lx-plan-note { color: #C5C0B6; }
.lx-plan--service .lx-plan-note a { color: #FFFFFF; }
.lx-plan--service .lx-plan-foot {
  border-top-color: rgb(255 255 255 / 0.12);
}

.lx-pricing-foot {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--text-caption);
  line-height: 1.6;
  color: var(--night-faint);
  max-width: 52rem;
  margin-inline: auto;
}
.lx-pricing-foot a {
  color: #FFFFFF;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Compare glance table: flat light grid (pricing-matrix style). */
.lx-compare-wrap,
.mk-vs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lx-compare-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lx-compare-table,
.mk-vs-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: var(--text-small);
  background: var(--paper);
}
.lx-compare-table th,
.lx-compare-table td,
.mk-vs-table th,
.mk-vs-table td {
  padding: 16px 20px;
  text-align: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  vertical-align: middle;
  line-height: 1.5;
  font-weight: 500;
}
.lx-compare-table thead th,
.mk-vs-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-block: 20px 16px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  vertical-align: bottom;
}
.lx-cmp-feature {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 28%;
  min-width: 160px;
  max-width: 260px;
  background: var(--paper) !important;
  text-align: left !important;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink) !important;
  box-shadow: none;
}
.lx-compare-table thead .lx-cmp-feature,
.mk-vs-table thead .lx-cmp-feature {
  z-index: 3;
  background: var(--paper) !important;
  color: var(--ink-faint) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: bottom;
}
.lx-cmp-them {
  width: 36%;
  color: var(--ink-soft);
  font-weight: 500;
}
.lx-compare-table thead .lx-cmp-them,
.mk-vs-table thead .lx-cmp-them {
  color: var(--ink);
  font-weight: 700;
}
.lx-compare-table .is-mankai,
.lx-compare-table thead .is-mankai,
.mk-vs-table .is-mankai,
.mk-vs-table thead .is-mankai {
  width: 36%;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-weight: 560;
  box-shadow: none;
}
.lx-compare-table thead .is-mankai,
.mk-vs-table thead .is-mankai {
  font-weight: 700;
  background: var(--paper) !important;
  box-shadow: none;
}
.lx-cmp-brand {
  display: block;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 740;
  letter-spacing: -0.015em;
}
.lx-cmp-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.lx-compare-table tbody tr:nth-child(even) th,
.lx-compare-table tbody tr:nth-child(even) td,
.mk-vs-table tbody tr:nth-child(even) th,
.mk-vs-table tbody tr:nth-child(even) td {
  background: var(--paper);
}
.lx-compare-table tbody tr:nth-child(even) .lx-cmp-feature,
.mk-vs-table tbody tr:nth-child(even) .lx-cmp-feature,
.lx-compare-table tbody tr:nth-child(even) .is-mankai,
.mk-vs-table tbody tr:nth-child(even) .is-mankai {
  background: var(--paper) !important;
}
.lx-compare-table tr.is-price th,
.lx-compare-table tr.is-price td,
.mk-vs-table tr.is-price th,
.mk-vs-table tr.is-price td {
  background: var(--paper) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.lx-compare-table tr.is-price .lx-cmp-feature,
.mk-vs-table tr.is-price .lx-cmp-feature {
  color: var(--ink) !important;
  font-weight: 700;
}
.lx-compare-table tr.is-price .is-mankai,
.mk-vs-table tr.is-price .is-mankai {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 1.02em;
}
.lx-cmp-y,
.lx-cmp-p,
.lx-cmp-n {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.lx-cmp-y { color: var(--ink); }
.lx-cmp-p { color: var(--ink-soft); }
.lx-cmp-n { color: var(--ink-faint); font-weight: 620; }
.lx-compare-hint {
  display: none;
  font-size: var(--text-caption);
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
  text-align: center;
}
.lx-compare-note {
  margin-top: var(--space-4);
  font-size: var(--text-caption);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

/* Compare guides: keep the table on mobile; smaller type + sideways scroll. */
@media (max-width: 720px) {
  .mk-vs-table-wrap.lx-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mk-vs-table-wrap .mk-vs-table.lx-compare-table {
    min-width: 640px;
    font-size: 12px;
  }
  .mk-vs-table th,
  .mk-vs-table td,
  .lx-compare-table th,
  .lx-compare-table td {
    padding: 11px 12px;
    line-height: 1.4;
  }
  .mk-vs-table .lx-cmp-feature,
  .lx-compare-table .lx-cmp-feature {
    min-width: 128px;
    max-width: 150px;
    font-size: 12px;
  }
}
@media (min-width: 721px) {
  .mk-vs-table.lx-compare-table {
    min-width: 0;
  }
  .mk-vs-table .lx-cmp-feature,
  .lx-compare-table .lx-cmp-feature {
    min-width: 160px;
    width: 22%;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   14. Founder, FAQ, final CTA, footer
   -------------------------------------------------------------------------- */
.lx-faq-stack { width: 100%; }

.hx-acc-item { border-bottom: 1px solid var(--line); }
#faq .hx-acc-item:last-child { border-bottom: 0; }
.hx-acc-btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: 640;
  color: var(--ink);
  text-align: left;
}
.hx-acc-num {
  flex: 0 0 auto;
  width: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.hx-acc-btn .hx-acc-icon {
  margin-left: auto;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--speed) var(--ease-out), background var(--speed) var(--ease-soft), border-color var(--speed) var(--ease-soft);
}
.hx-acc-icon::before { content: '+'; font-size: 16px; line-height: 1; color: var(--ink-soft); }
.hx-acc-item.is-open .hx-acc-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.hx-acc-item.is-open .hx-acc-icon::before { color: #FFFFFF; }
.hx-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease-out);
}
.hx-acc-body-inner {
  padding: 0 0 var(--space-5) 42px;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: none;
}
.hx-acc-body-inner a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* FAQ + final: charcoal close before night footer */
#faq.lx-section {
  position: relative;
  z-index: 1;
  background: var(--paper-raised);
  padding-bottom: clamp(8px, 1.5vw, 20px);
}
#faq .lx-head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
#faq .lx-faq-stack {
  max-width: min(56rem, 100%);
  margin-inline: auto;
}

/* Compare: white FAQ → related. Footer stays night. */
.mk-compare-page #faq.lx-section {
  background: var(--paper);
  padding-bottom: clamp(12px, 2vw, 24px);
}
.mk-compare-page #related.lx-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.mk-compare-page #related .lx-head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

/*
 * Closing CTA - homepage-style white card bridging into the night footer.
 * Zero-height seam; card is centered on the content / footer boundary.
 * Space above comes from margin-top only - don't also keep a large
 * bottom pad on the preceding section.
 */
.lx-final {
  position: relative;
  z-index: 3;
  height: 0;
  margin: calc(var(--final-half) + 20px) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  overflow: visible;
}
.lx-final.lx-panel,
.lx-final.lx-panel--cream,
.lx-final.lx-section {
  margin-inline: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.lx-final::before { content: none; }
.lx-final-inner { display: contents; }
.lx-final-card {
  width: var(--container-wide);
  max-width: 100%;
  margin-inline: auto;
  /* Center on the content/footer seam - must win over reveal/hx transforms */
  transform: translateY(-50%) !important;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgb(0 0 0 / .04),
    0 28px 64px -20px rgb(0 0 0 / .28),
    0 48px 100px -40px rgb(0 0 0 / .22);
}
html.hx-motion .lx-final-card[data-hx],
html.hx-motion .lx-final-card[data-hx].is-in,
html.hx-motion body.mk-hybrid-home .lx-final-card[data-reveal],
html.hx-motion body.mk-hybrid-home .lx-final-card[data-reveal].is-in {
  opacity: 1;
  transform: translateY(-50%) !important;
  animation: none !important;
  will-change: auto;
}
.lx-final .lx-h2 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lx-final .lx-sub {
  margin: 0 auto 40px;
  max-width: 38rem;
  color: var(--ink-soft);
}
.lx-final .lx-final-ctas,
.lx-final .lx-btn-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  gap: 12px;
}
.lx-final .lx-final-ctas .lx-btn,
.lx-final .lx-btn-row .lx-btn {
  flex: 0 0 auto;
  width: auto;
  justify-content: center;
}
.lx-final .lx-fine {
  margin-top: 24px;
  font-size: var(--text-caption);
  color: var(--ink-muted, var(--ink-soft));
}
.lx-final .lx-fine a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lx-final .lx-fine a:hover { color: var(--ink); }

/* Collapse fat section bottoms right above the CTA (band/FAQ/etc.) */
#mk-content > *:has(+ .lx-final),
main > *:has(+ .lx-final) {
  padding-bottom: clamp(28px, 3.5vw, 44px);
  margin-bottom: 0;
}

/* Footer top room for the bottom half of the overlapping card */
body:has(.lx-final) .lx-footer,
body:has(.final) .lx-footer {
  padding-top: calc(var(--final-half) + 88px);
}

/*
 * Flat dark footer: newsletter, brand + columns, legal bar.
 * No cards, glow, or heavy shadows.
 */
.lx-footer-flow {
  background: var(--night);
  padding: 0;
}
/* Shared nest behind panels - flat white canvas */
.lx-panel-flow,
.lx-panel-flow--bright {
  padding: 0;
  background: var(--paper);
}
.lx-panel-flow > .lx-panel {
  margin-inline: 0;
  border-radius: 0;
}
.lx-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: var(--night);
  color: var(--night-soft);
  padding: clamp(88px, 11vw, 128px) 0 clamp(24px, 3vw, 36px);
}
.lx-footer .lx-container,
.lx-footer .lx-container--wide {
  width: var(--container-wide);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}
.lx-footer a { color: inherit; transition: color var(--speed) var(--ease-soft); }
.lx-footer a:hover { color: var(--accent); }

.lx-footer-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--night-line);
}
.lx-footer-news-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #FFFFFF;
  max-width: 18ch;
}
.lx-footer .mk-newsletter { margin: 0; width: 100%; }
.lx-footer .mk-newsletter-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.lx-footer .mk-newsletter-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.lx-footer .mk-newsletter-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--night-faint);
  pointer-events: none;
  display: inline-flex;
}
.lx-footer .mk-newsletter-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-s);
  background: var(--night-raised);
  color: #FFFFFF;
  font: inherit;
  font-size: var(--text-small);
  box-sizing: border-box;
}
.lx-footer .mk-newsletter-input::placeholder { color: var(--night-faint); }
.lx-footer .mk-newsletter-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
  background: #333333;
}
.lx-footer .mk-newsletter-btn {
  appearance: none;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--accent-deep);
  color: #FFFFFF;
  font: inherit;
  font-size: var(--text-caption);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms var(--ease-soft);
}
.lx-footer .mk-newsletter-btn:hover { background: var(--accent); }
.lx-footer .mk-newsletter-btn:disabled { opacity: 0.7; cursor: wait; }
.lx-footer .mk-newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.lx-footer .mk-newsletter-status {
  margin: 10px 0 0;
  font-size: var(--text-caption);
  line-height: 1.45;
}
.lx-footer .mk-newsletter-status.is-ok { color: #8FCB9B; }
.lx-footer .mk-newsletter-status.is-error { color: #E07070; }

/* Newsletter success: SUB25 first-year offer */
.mk-sub-offer .mk-modal-scrim { backdrop-filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .mk-sub-offer .mk-modal-scrim {
    transition: opacity 120ms var(--ease-out);
  }
  .mk-sub-offer .mk-sub-offer-dialog {
    transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
    transform: translateY(8px) scale(0.985);
  }
}
.mk-sub-offer .mk-sub-offer-dialog {
  width: min(440px, 100%);
  padding: clamp(36px, 5vw, 48px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 36px);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 28px 64px -28px rgb(36 36 36 / 0.55);
  background:
    radial-gradient(120% 80% at 50% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    var(--paper-raised);
  text-align: center;
}
.mk-sub-offer-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink-faint);
  background: transparent;
}
.mk-sub-offer-close:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-sunken) 85%, transparent);
}
.mk-sub-offer-kicker {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.mk-sub-offer-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
.mk-sub-offer-text {
  margin: 0 auto 28px;
  max-width: 28ch;
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--ink-soft);
}
.mk-sub-offer-code {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  width: 100%;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
}
.mk-sub-offer-code code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-sunken) 65%, #FFFFFF);
}
.mk-sub-offer-copy {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: var(--text-small);
  font-weight: 650;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.mk-sub-offer-copy:hover {
  background: color-mix(in srgb, var(--accent) 10%, #FFFFFF);
  color: var(--accent);
}
.mk-sub-offer-copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.mk-sub-offer-cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.lx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
  gap: var(--space-7);
  align-items: start;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--night-line);
}
.lx-footer-brand .lx-brand {
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}
.lx-footer-tag {
  font-size: var(--text-small);
  line-height: 1.55;
  margin: 0;
  max-width: 22rem;
  color: var(--night-faint);
}
.lx-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

/* Social icon tiles: one size, brand fills, white glyphs */
.lx-footer .lx-socials,
.lx-socials {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.lx-social {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #FFFFFF !important;
  background: #555;
  line-height: 0;
  transition: filter 160ms var(--ease-soft);
}
.lx-social:hover {
  color: #FFFFFF !important;
  filter: brightness(1.08);
}
.lx-social svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
  color: #FFFFFF;
}
.lx-social svg path { fill: #FFFFFF; }
.lx-social--youtube { background: #FF0000; }
.lx-social--tiktok { background: #000000; }
.lx-social--instagram { background: #E1306C; }
.lx-social--facebook { background: #1877F2; }
.lx-socials--footer { margin: 18px 0 0; }
.lx-socials--story { margin: 0 0 4px; }
.mk-story-socials-label {
  margin: var(--space-5) 0 10px;
  font-size: var(--text-caption);
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.mk-story-founder-ig,
.mk-contact-founder-ig {
  display: block;
  margin-top: 10px;
  font-size: var(--text-caption);
  color: var(--ink-soft);
}
.mk-story-founder-ig,
.mk-contact-founder-ig a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}
.mk-story-founder-ig:hover,
.mk-contact-founder-ig a:hover { color: var(--accent); }
.lx-footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.lx-footer-bottom a:hover { color: var(--accent); }
.mk-contact-detail-value .lx-socials { margin: 8px 0 0; }
.lx-footer h4 {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 var(--space-3);
}
.lx-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lx-footer ul a { font-size: var(--text-small); color: var(--night-soft); }
.lx-footer ul a:hover { color: var(--accent); }
.lx-footer .lx-socials {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.lx-footer .lx-socials a {
  font-size: inherit;
  color: #FFFFFF !important;
}
.lx-footer .lx-socials a:hover { color: #FFFFFF !important; }
.lx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  font-size: var(--text-caption);
  color: var(--night-faint);
}
.lx-footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.lx-footer-legal a { font-size: var(--text-caption); }

@media (max-width: 820px) {
  .lx-footer-news {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lx-footer-news-title { max-width: none; }
}
@media (max-width: 560px) {
  .lx-footer .mk-newsletter-row {
    flex-direction: column;
  }
  .lx-footer .mk-newsletter-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   15. Lightbox, sticky CTA, reveal system
   -------------------------------------------------------------------------- */
.lx-lightbox {
  border: 0;
  border-radius: var(--radius-m);
  padding: 0;
  background: transparent;
  max-width: min(1400px, 94vw);
  width: auto;
}
.lx-lightbox::backdrop { background: rgb(27 30 39 / 0.82); }
.lx-lightbox img {
  display: block;
  max-width: min(1400px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-m);
}
.lx-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  box-shadow: var(--shadow-m);
}

/* Sticky mobile CTA (JS: .mk-sticky-cta) */
.mk-sticky-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--paper-raised);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 10px var(--page-gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgb(36 36 36 / 0.1);
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
  font-size: var(--text-small);
  font-weight: 600;
}
.mk-sticky-cta.is-visible { transform: none; }
.mk-sticky-cta-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.mk-sticky-cta-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.mk-sticky-cta-main .lx-btn {
  flex: 0 0 auto;
  pointer-events: none; /* whole row is the hit target */
}
.mk-sticky-cta-close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
}
@media (max-width: 820px) { .mk-sticky-cta { display: flex; } }

/* Intro animations ([data-hx], gated by html.hx-motion)
   Tailwind-style animate-in: fade + slide/scale via keyframes + stagger delay. */
html.hx-motion [data-hx] {
  opacity: 0;
  will-change: opacity, transform;
}
/* Homepage product proof must never wait on intersection/reveal */
html.hx-motion body.home .lx-split--feature[data-hx],
html.hx-motion body.home .lx-split-media[data-hx],
html.hx-motion body.home .lx-money-stage[data-hx],
html.hx-motion body.home .lx-photo-proof[data-hx],
html.hx-motion body.home .lx-media-stack[data-hx],
html.hx-motion body.home .lx-hero [data-hx] {
  opacity: 1;
  transform: none;
  animation: none !important;
  will-change: auto;
}
html.hx-motion [data-hx].is-in {
  animation-name: lx-in-up;
  animation-duration: var(--reveal-duration);
  animation-timing-function: var(--ease-out);
  animation-fill-mode: both;
  animation-delay: calc(var(--hx-order, 0) * var(--reveal-stagger));
}
html.hx-motion [data-hx="left"].is-in { animation-name: lx-in-left; }
html.hx-motion [data-hx="right"].is-in { animation-name: lx-in-right; }
html.hx-motion [data-hx="scale"].is-in { animation-name: lx-in-scale; }
@keyframes lx-in-up {
  from { opacity: 0; transform: translateY(var(--reveal-distance)); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lx-in-left {
  from { opacity: 0; transform: translateX(calc(-1 * var(--reveal-distance))); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lx-in-right {
  from { opacity: 0; transform: translateX(var(--reveal-distance)); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lx-in-scale {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html.hx-motion [data-hx] { opacity: 1; transform: none; animation: none !important; will-change: auto; }
  html.hx-motion .lx-tab-panel.is-active { animation: none; }
}

/* Anchor offset below sticky header */
section[id], #setup { scroll-margin-top: calc(var(--header-stack, var(--header-h)) + 14px); }

/* --------------------------------------------------------------------------
   15b. Inner page head + chip nav (Features hub, archives)
   -------------------------------------------------------------------------- */
.lx-page-head {
  padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
  text-align: center;
}
.lx-page-head h1 {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-block: var(--space-4);
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.lx-page-head .lx-sub {
  margin-inline: auto;
  text-align: center;
}
.lx-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.lx-chip-row a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  font-size: var(--text-caption);
  font-weight: 620;
  color: var(--ink-soft);
  transition: border-color var(--speed) var(--ease-soft), color var(--speed) var(--ease-soft);
}
.lx-chip-row a:hover { border-color: var(--ink-faint); color: var(--ink); }

/* Features hub: stacked split sections with generous rhythm */
.lx-feature-row { padding-block: clamp(40px, 5vw, 72px); }
.lx-feature-row + .lx-feature-row { border-top: 1px solid var(--line); }
.lx-feature-row .lx-split-media .lx-shot + .lx-shot { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   15c. Screenshot slider (one visible slide, arrows, dots, swipe, keyboard)
   -------------------------------------------------------------------------- */
.lx-slider {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden; /* never let slides/controls widen the page */
}
.lx-slider-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-m);
}
.lx-slider-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
html.hx-motion .lx-slider-track { transition: transform 380ms var(--ease-out); }
.lx-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.lx-slide .lx-frame,
.lx-slide .lx-shot { box-shadow: none; }

/* One row: â†  labels  â†’ â€” plain text, no pill chrome */
.lx-slider-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-4);
  max-width: 100%;
  min-width: 0;
}
.lx-slider-dots {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 40rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.lx-slider-dots::-webkit-scrollbar { display: none; }
.lx-slider-dot {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 6px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--text-caption);
  font-weight: 520;
  color: var(--ink-faint);
  cursor: pointer;
  box-shadow: none;
  transition: color var(--speed) var(--ease-soft);
}
.lx-slider-dot:hover { color: var(--ink-soft); background: transparent; }
.lx-slider-dot[aria-selected="true"] {
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  box-shadow: none;
}
.lx-slider-dot[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
}
.lx-panel--dark .lx-slider-dots {
  background: transparent;
  border: 0;
}
.lx-panel--dark .lx-slider-dot {
  background: transparent;
  color: var(--night-faint);
}
.lx-panel--dark .lx-slider-dot:hover {
  color: var(--night-soft);
  background: transparent;
}
.lx-panel--dark .lx-slider-dot[aria-selected="true"] {
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
}
.lx-panel--dark .lx-slider-dot[aria-selected="true"]::after {
  background: var(--paper-raised);
}
.lx-panel--light .lx-slider-dot,
#finance .lx-slider-dot,
.lx-mobile-band .lx-slider-dot {
  color: var(--ink-on-light-faint);
}
.lx-panel--light .lx-slider-dot:hover,
#finance .lx-slider-dot:hover,
.lx-mobile-band .lx-slider-dot:hover {
  color: var(--ink-on-light-soft);
}
.lx-panel--light .lx-slider-dot[aria-selected="true"],
#finance .lx-slider-dot[aria-selected="true"],
.lx-mobile-band .lx-slider-dot[aria-selected="true"] {
  color: var(--ink-inverse);
}
.lx-panel--light .lx-slider-dot[aria-selected="true"]::after,
#finance .lx-slider-dot[aria-selected="true"]::after,
.lx-mobile-band .lx-slider-dot[aria-selected="true"]::after {
  background: var(--ink-inverse);
}
.lx-panel--light .lx-slider-btn,
#finance .lx-slider-btn,
.lx-mobile-band .lx-slider-btn {
  color: var(--ink-on-light-soft);
}
.lx-panel--light .lx-slider-btn:hover:not(:disabled),
#finance .lx-slider-btn:hover:not(:disabled),
.lx-mobile-band .lx-slider-btn:hover:not(:disabled) {
  color: var(--ink-inverse);
}
.lx-slider-btn {
  width: auto;
  height: auto;
  min-width: 28px;
  min-height: 28px;
  padding: 4px 6px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
  box-shadow: none;
  transition: color var(--speed) var(--ease-soft);
}
.lx-slider-btn:hover:not(:disabled) {
  color: var(--ink);
  background: transparent;
  border: 0;
  transform: none;
}
.lx-slider-btn:disabled { opacity: 0.28; cursor: default; }
.lx-panel--dark .lx-slider-btn {
  background: transparent;
  border: 0;
  color: var(--night-soft);
}
.lx-panel--dark .lx-slider-btn:hover:not(:disabled) {
  border: 0;
  background: transparent;
  color: #FFFFFF;
}

@media (min-width: 721px) {
  .lx-slider-dots {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
}
@media (max-width: 520px) {
  .lx-slider-controls { gap: 6px; }
  .lx-slider-dot { padding: 6px 8px; font-size: 12px; }
  .lx-slider-dot[aria-selected="true"]::after { left: 8px; right: 8px; }
}

/* --------------------------------------------------------------------------
   15d. Feature archive + single templates
   -------------------------------------------------------------------------- */
.lx-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--text-caption);
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
}
.lx-crumbs a { color: var(--ink-soft); }
.lx-crumbs a:hover { color: var(--ink); }

.lx-fdir-group {
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.lx-fdir-group > h2 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 720;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.lx-fdir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  width: 100%;
  max-width: 100%;
}
.lx-fdir-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: var(--space-4) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  transition: background var(--speed) var(--ease-soft), border-color var(--speed) var(--ease-soft), color var(--speed) var(--ease-soft);
}
.lx-fdir-card:hover {
  transform: none;
  box-shadow: none;
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}
.lx-fdir-card:hover strong,
.lx-fdir-card:hover small { color: #FFFFFF; }
.lx-fdir-card:hover .lx-mega-icon { color: #FFFFFF; }
.lx-fdir-card strong { display: block; font-size: var(--text-body); font-weight: 660; color: var(--ink); line-height: 1.3; }
.lx-fdir-card small { display: block; font-size: var(--text-caption); color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }
/* Never transform the grid wrapper itself - that collapses column tracks */
html.hx-motion .lx-fdir-group[data-hx],
html.hx-motion .lx-fdir[data-hx] {
  opacity: 1;
  transform: none !important;
  animation: none !important;
  will-change: auto;
}
@media (max-width: 980px) { .lx-fdir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lx-fdir { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Integrations directory
   -------------------------------------------------------------------------- */
.lx-int-head { padding-bottom: clamp(28px, 3.5vw, 40px); }
.lx-int-head .lx-eyebrow {
  display: block;
  margin: 0 0 12px;
}
.lx-int-body {
  padding: 0 0 var(--section-pad);
}
.lx-int-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lx-int-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 28px 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m, 14px);
  box-shadow: none;
}
.lx-int-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--paper-sunken, #F4F5F3);
  color: var(--ink);
}
.lx-int-icon--logo {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}
.lx-int-icon--logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.lx-int-cat {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted, var(--ink-soft));
}
.lx-int-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lx-int-card p {
  margin: 0 0 20px;
  font-size: var(--text-small, 0.9375rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.lx-int-status {
  margin-top: auto;
  font-size: 12px;
  font-weight: 650;
  color: var(--mk-blue);
}
.lx-int-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: var(--text-small, 0.9375rem);
  color: var(--ink-soft);
}
.lx-int-note a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .lx-int-grid { grid-template-columns: 1fr; }
}

.lx-canvas-head-actions {
  justify-content: center;
  margin-top: 28px;
}
.lx-canvas-intro { padding-top: 0; }
.lx-canvas-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}
.lx-canvas-split h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
}
.lx-canvas-split p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  max-width: 38rem;
}
.lx-canvas-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.lx-canvas-points li {
  padding: 18px 20px;
  border: 1px solid var(--mk-line, #e6e6e6);
  border-radius: 16px;
  background: #fff;
}
.lx-canvas-points strong {
  display: block;
  margin-bottom: 6px;
}
.lx-canvas-points span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.lx-canvas-looks { background: var(--mk-sand, #f6f4f0); }
.lx-canvas-look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.lx-canvas-look {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--mk-line, #e6e6e6);
}
.lx-canvas-look h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.lx-canvas-look p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.lx-canvas-honest h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 22ch;
}
.lx-canvas-honest > .lx-container > p {
  max-width: 42rem;
  color: var(--ink-soft);
}
.lx-canvas-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.lx-canvas-choice article {
  padding: 24px;
  border: 1px solid var(--mk-line, #e6e6e6);
  border-radius: 16px;
  background: #fff;
}
.lx-canvas-choice h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.lx-canvas-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .lx-canvas-split,
  .lx-canvas-look-grid,
  .lx-canvas-choice {
    grid-template-columns: 1fr;
  }
}

.lx-feature-hero {
  padding: clamp(32px, 4vw, 56px) 0 clamp(20px, 2.5vw, 32px);
  text-align: center;
}
.lx-feature-hero .lx-crumbs {
  justify-content: center;
  margin-bottom: var(--space-4);
}
.lx-feature-hero .lx-eyebrow { margin-bottom: var(--space-3); }
.lx-feature-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}
.lx-feature-hero .lx-sub {
  max-width: 34rem;
  margin-inline: auto;
  font-size: var(--text-body);
}

.lx-feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: start;
}
.lx-feature-gallery {
  width: 100%;
  margin-top: clamp(40px, 5vw, 72px);
}
.lx-feature-gallery-title {
  margin: 0 0 var(--space-4);
  font-size: var(--text-h3);
  font-weight: 720;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lx-feature-gallery .lx-slider-viewport {
  overflow: hidden;
  height: auto;
}
.lx-feature-gallery .lx-slider-track {
  align-items: flex-start;
}
.lx-feature-gallery .lx-frame {
  box-shadow: var(--shadow-m);
  height: auto;
}
.lx-feature-gallery .lx-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
}
/* Phone shots stay compact so the full screen stays readable. */
.lx-feature-gallery .lx-slide--phone {
  display: flex;
  justify-content: center;
}
.lx-feature-gallery .lx-slide--phone .lx-phone {
  width: min(280px, 62vw);
  max-width: 280px;
  margin-inline: auto;
}
.lx-feature-gallery .lx-slide--phone .lx-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
/* Detail crops keep a natural panel width instead of stretching full-bleed. */
.lx-feature-gallery .lx-slide--crop {
  display: flex;
  justify-content: center;
}
.lx-feature-gallery .lx-slide--crop .lx-frame {
  width: min(640px, 100%);
  margin-inline: auto;
}
.lx-feature-related {
  margin-top: clamp(40px, 5vw, 64px);
}
.lx-feature-prose {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: none;
}
.lx-feature-prose h2 { font-size: var(--text-h3); font-weight: 720; color: var(--ink); margin: var(--space-6) 0 var(--space-3); letter-spacing: -0.015em; }
.lx-feature-prose p { margin: 0 0 var(--space-4); }
.lx-feature-prose ul { padding-left: 1.3em; margin: 0 0 var(--space-4); }
.lx-feature-prose li { margin-bottom: var(--space-2); }
.lx-feature-aside { position: sticky; top: calc(var(--header-stack, var(--header-h)) + 24px); display: flex; flex-direction: column; gap: var(--space-5); }
.lx-feature-aside .lx-card { padding: var(--space-5); }
.lx-feature-aside .lx-card h3 { font-size: 1.05rem; }
.lx-feature-related-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.lx-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 980px) {
  .lx-feature-body { grid-template-columns: 1fr; }
  .lx-feature-aside { position: static; }
  .lx-related { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .lx-span-7, .lx-span-5 { grid-column: span 6; }
}

@media (max-width: 980px) {
  .lx-bento > * { grid-column: 1 / -1; }
  /* minmax(0,1fr) â€” bare 1fr lets screenshot sliders blow out the page width */
  .lx-tab-panel { grid-template-columns: minmax(0, 1fr); }
  .lx-split, .lx-split--copy-first { grid-template-columns: minmax(0, 1fr); }
  /* Copy first, media/sliders last on tablet + mobile. */
  .lx-tab-panel .lx-tab-copy { order: 1; }
  .lx-tab-panel > .lx-frame { order: 2; }
  .lx-split .lx-split-copy { order: 1; }
  .lx-split .lx-split-media,
  .lx-split--copy-first .lx-split-media { order: 2; }
  .lx-finance-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-finance-foot { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .lx-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-plans,
  .lx-plans-wrap.is-theme-open .lx-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .lx-plan--featured {
    order: -1;
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
    transform: none;
  }
  .lx-plan--featured { padding: 0; }
  .lx-footer-grid { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; }
  .lx-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .lx-footer-brand .lx-brand {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
  }
  .lx-footer-tag { margin-inline: auto; }
  .lx-footer .lx-socials { justify-content: center; }
  /* Span full content width: flush left / center / flush right */
  .lx-footer-nav {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 4vw, 28px);
    text-align: center;
  }
  .lx-footer-col:first-child { text-align: left; }
  .lx-footer-col:last-child { text-align: right; }
  .lx-footer-col:first-child ul { align-items: flex-start; }
  .lx-footer-col:nth-child(2) ul { align-items: center; }
  .lx-footer-col:last-child ul { align-items: flex-end; }
  .lx-footer ul { align-items: center; }
  .lx-compare-hint { display: block; }
  .lx-compare-table { min-width: 640px; font-size: var(--text-caption); }
  .lx-compare-table th, .lx-compare-table td { padding: 11px 12px; }
  .lx-cmp-feature { min-width: 128px; max-width: 150px; font-size: 12px; line-height: 1.35; }

  /* Dark/cream panels and footer go edge-to-edge on smaller screens. */
  .lx-panel,
  .lx-footer {
    margin-inline: 0;
    border-radius: 0;
  }
  .lx-footer { margin: 0; }
  .lx-footer-flow,
  .lx-panel-flow,
  .lx-band-fade--blush-to-white {
    padding-inline: 0;
    padding-bottom: 0;
  }

}

@media (max-width: 640px) {
  .lx-section { padding-block: 68px; }
  .lx-head { margin-bottom: var(--space-6); text-align: center; }
  .lx-head .lx-sub { margin-inline: auto; }
  .lx-h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .lx-card { padding: 24px 20px; }
  .lx-card > p { max-width: none; }
  .lx-split-copy { text-align: center; }
  .lx-split-copy > p { margin-inline: auto; }
  .lx-split-copy .lx-list { text-align: left; max-width: 24rem; margin-inline: auto; }
  .lx-split-copy .lx-btn-row { justify-content: center; }
  .lx-crops { grid-template-columns: 1fr; gap: var(--space-4); }
  .lx-fgrid { grid-template-columns: 1fr; }
  .lx-integrations { grid-template-columns: 1fr; }
  /* One scrollable tab row â€” no awkward 3+1 wrap. */
  .lx-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
    border-bottom: 1px solid var(--line);
  }
  .lx-tabs-nav::-webkit-scrollbar { display: none; }
  .lx-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 11px 14px;
    font-size: var(--text-caption);
    white-space: nowrap;
  }
  .lx-tab-btn[aria-selected="true"]::after { left: 14px; right: 14px; }
  .lx-plans,
  .lx-plans-wrap.is-theme-open .lx-plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-inline: auto;
  }
  .lx-plan--featured {
    grid-column: auto;
    max-width: none;
  }
  .lx-final {
    text-align: center;
    /* Keep footer bridge (--final-half); light pull so FAQ has a little air. */
    margin-top: calc(var(--final-half) - 12px);
  }
  .lx-final-card {
    width: calc(100% - 2 * var(--page-gutter));
    padding: 28px 20px;
    box-shadow:
      0 4px 12px rgb(0 0 0 / .04),
      0 18px 40px -16px rgb(0 0 0 / .22);
  }
  .lx-final .lx-h2 { margin-bottom: 12px; }
  .lx-final .lx-sub { margin: 0 auto 18px; }
  .lx-final .lx-final-ctas,
  .lx-final .lx-btn-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .lx-final .lx-final-ctas .lx-btn,
  .lx-final .lx-btn-row .lx-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 8px 10px;
    font-size: var(--text-caption);
    white-space: nowrap;
    justify-content: center;
  }
  #mk-content > *:has(+ .lx-final),
  main > *:has(+ .lx-final) {
    padding-bottom: 24px;
  }
  body:has(.lx-final) .lx-footer,
  body:has(.final) .lx-footer {
    padding-top: calc(var(--final-half) + 48px);
  }
  /* Mobile footer: centered brand + full-width 3-col link grid. */
  .lx-footer {
    padding: 72px 0 28px;
  }
  body:has(.lx-final) .lx-footer,
  body:has(.final) .lx-footer {
    padding: calc(var(--final-half) + 48px) 0 28px;
  }
  .lx-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
    text-align: center;
  }
  .lx-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .lx-footer-brand .lx-brand {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 10px;
    justify-content: center;
  }
  .lx-footer-tag {
    max-width: 26rem;
    width: 100%;
    margin-inline: auto;
    font-size: var(--text-caption);
    line-height: 1.5;
    text-align: center;
  }
  .lx-footer .lx-socials,
  .lx-socials--footer {
    justify-content: center;
    margin-top: 16px;
    gap: 10px;
  }
  .lx-footer-nav {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(18px, 5vw, 32px);
    text-align: center;
  }
  .lx-footer-col:first-child { text-align: left; }
  .lx-footer-col:nth-child(2) { text-align: center; }
  .lx-footer-col:last-child { text-align: right; }
  .lx-footer-col:first-child ul { align-items: flex-start; }
  .lx-footer-col:nth-child(2) ul { align-items: center; }
  .lx-footer-col:last-child ul { align-items: flex-end; }
  .lx-footer h4 { margin-bottom: 12px; font-size: 11px; }
  .lx-footer ul {
    gap: 10px;
  }
  .lx-footer ul a { font-size: 13px; line-height: 1.35; }
  .lx-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 22px;
  }
  .lx-footer-legal { justify-content: center; gap: 14px 18px; }
  .lx-btn-row {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .lx-btn-row .lx-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 8px 12px;
    font-size: var(--text-caption);
    white-space: nowrap;
  }
  .lx-final {
    --final-half: clamp(120px, 34vw, 150px);
  }
  .lx-final-card { padding: 24px 16px; }
  .lx-bento-cta .lx-btn, .lx-tabs ~ * .lx-btn { width: auto; }
  .hx-acc-btn { padding: 18px 0; gap: 10px; }
  .hx-acc-body-inner { padding-left: 42px; padding-right: 0; }
}

@media (max-width: 360px) {
  .lx-eyebrow { padding: 6px 12px; font-size: 11px; }
  .lx-plan-body { padding: 18px 16px 14px; }
  .lx-plan-foot { padding: 14px 16px 16px; }
  .lx-plan-price strong { font-size: 1.4rem; }
}

/* =========================================================================
 * Comparison guides (/vs/) - homepage-aligned, flat, centered hero
 * ====================================================================== */
.mk-compare-page .lx-page-head.mk-vs-head {
  text-align: center;
  padding-bottom: var(--space-6);
}
.mk-vs-head .lx-container { margin-inline: auto; }
.mk-vs-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 0 var(--space-4);
  font-size: var(--text-caption);
  color: var(--ink-faint);
}
.mk-vs-crumbs a { color: var(--ink-soft); text-decoration: none; }
.mk-vs-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.mk-vs-kicker {
  margin: 0 auto var(--space-3);
  font-size: var(--text-eyebrow);
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.mk-vs-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: var(--space-5) auto var(--space-5);
}
.mk-vs-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.mk-vs-logo--mankai img {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.mk-vs-logo--mankai span {
  font-size: 1.2rem;
  font-weight: 740;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.mk-vs-logo--wordmark img {
  display: block;
  width: auto;
  height: 28px;
  max-width: min(220px, 46vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
}
.mk-vs-vs {
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  line-height: 1;
}
.mk-vs-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  max-width: 18ch;
  margin: 0 auto var(--space-4);
  text-align: center;
  text-wrap: balance;
}
.mk-vs-head .lx-sub {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.mk-vs-center-row {
  justify-content: center;
}
.mk-vs-toc {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-block: 1px solid var(--line);
}
.mk-vs-toc ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.mk-vs-toc a {
  display: inline-block;
  white-space: nowrap;
  font-size: var(--text-caption);
  font-weight: 620;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}
.mk-vs-toc a:hover { color: var(--ink); }
.mk-vs-summary {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .mk-vs-summary {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 4.5vw, 64px);
    align-items: center;
  }
}
.mk-vs-summary-media {
  margin: 0;
  justify-self: start;
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--paper-raised), var(--paper-sunken));
  aspect-ratio: 4 / 5;
  max-height: min(640px, 78vh);
}
.mk-vs-summary-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.mk-vs-summary-media--rotate {
  position: relative;
}
.mk-vs-summary-media--rotate::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.mk-vs-summary-media--rotate img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease-soft);
  pointer-events: none;
}
.mk-vs-summary-media--rotate img.is-active {
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .mk-vs-summary-media--rotate img {
    transition: none;
  }
}
.mk-vs-summary-copy .lx-h2 {
  margin: 0 0 var(--space-3);
  text-align: left;
}
.mk-vs-summary-copy > .lx-sub {
  margin: 0 0 var(--space-5);
  max-width: 36rem;
  text-align: left;
}
.mk-vs-summary-blocks {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .mk-vs-summary-blocks {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(48px, 6vw, 88px);
    row-gap: var(--space-5);
  }
}
.mk-vs-plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk-vs-plain-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--ink-soft);
}
.mk-vs-plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.mk-vs-migrate {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .mk-vs-migrate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 4vw, 56px);
  }
}
.mk-vs-migrate-copy .lx-h2 {
  margin: 0 0 var(--space-3);
  text-align: left;
}
.mk-vs-migrate-copy > .lx-sub {
  margin: 0 0 var(--space-5);
  max-width: 36rem;
  text-align: left;
}
.mk-vs-migrate-steps {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.mk-vs-migrate-steps > li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 14px 16px;
  align-items: center;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mk-vs-migrate-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 740;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  line-height: 1;
  text-align: center;
}
.mk-vs-migrate-steps strong {
  display: block;
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mk-vs-migrate-steps p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--ink-soft);
}
.mk-vs-migrate-honest,
.mk-vs-migrate-help {
  margin: 0 0 var(--space-3);
  max-width: 36rem;
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--ink-soft);
}
.mk-vs-migrate-honest {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 520;
}
.mk-vs-migrate-guide {
  margin: 0 0 var(--space-4);
  font-size: var(--text-small);
  color: var(--ink-soft);
}
.mk-vs-migrate-guide a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mk-vs-migrate-cta { margin: 0; }
.mk-vs-migrate-media {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 5;
  max-height: min(720px, 82vh);
}
.mk-vs-migrate-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 899px) {
  .mk-vs-migrate-copy { order: 1; }
  .mk-vs-migrate-media {
    order: 2;
    max-height: 420px;
    aspect-ratio: 16 / 10;
  }
}
.mk-vs-block h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 899px) {
  .mk-vs-summary-copy { order: 1; }
  .mk-vs-summary-media {
    order: 2;
    justify-self: stretch;
    max-height: 420px;
  }
}
/* mk-vs-table styles live with .lx-compare-table above (shared glance table system). */
.mk-vs-omitted {
  margin: var(--space-5) auto 0;
  max-width: 36rem;
  font-size: var(--text-small);
  color: var(--ink-soft);
}
.mk-vs-omitted > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-inline: auto;
  padding: 0;
  list-style: none;
  cursor: pointer;
  font-size: var(--text-small);
  font-weight: 650;
  color: var(--ink);
  background: none;
  border: 0;
  box-shadow: none;
}
.mk-vs-omitted > summary::-webkit-details-marker,
.mk-vs-omitted > summary::marker {
  display: none;
  content: '';
}
.mk-vs-omitted-arrow {
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  color: var(--ink-soft);
  transition: transform var(--speed) var(--ease-out);
}
.mk-vs-omitted[open] > summary .mk-vs-omitted-arrow {
  transform: rotate(180deg);
  color: var(--ink);
}
.mk-vs-omitted > summary:hover,
.mk-vs-omitted > summary:hover .mk-vs-omitted-arrow {
  color: var(--ink);
}
.mk-vs-omitted ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.mk-vs-omitted li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 0.95rem;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: left;
}
.mk-vs-omitted li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.mk-vs-omitted li:last-child {
  border-bottom: 1px solid var(--line);
}
.mk-vs-tradeoffs .lx-head { margin-bottom: var(--space-5); }
.mk-vs-marquees {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-2);
  overflow: hidden;
}
.mk-vs-marquee {
  min-width: 0;
}
.mk-vs-marquee-label {
  margin: 0 auto var(--space-4);
  max-width: var(--container-wide, 1120px);
  padding-inline: var(--page-gutter);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive, var(--gold-deep));
  text-align: center;
}
.mk-vs-marquee-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}
.mk-vs-marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 0;
  padding-block: 2px;
  will-change: transform;
}
.mk-vs-marquee-group {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 48px;
  padding-right: 48px;
}
html.hx-motion .mk-vs-marquee-track {
  animation: mk-vs-marquee 110s linear infinite;
}
html.hx-motion .mk-vs-marquee--reverse .mk-vs-marquee-track {
  animation-name: mk-vs-marquee-reverse;
  animation-duration: 120s;
}
.mk-vs-marquee:hover .mk-vs-marquee-track,
.mk-vs-marquee:focus-within .mk-vs-marquee-track {
  animation-play-state: paused;
}
@keyframes mk-vs-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes mk-vs-marquee-reverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.mk-vs-reason-card {
  flex: 0 0 auto;
  width: 260px;
  margin: 0;
  padding: 18px 18px 16px;
  border: 0;
  background: #F5F5F5; /* same nest as homepage .own-col */
  box-shadow: none;
  border-radius: 14px;
  color: var(--ink);
}
.mk-vs-marquee--reverse .mk-vs-reason-card {
  background: #F5F5F5;
  box-shadow: none;
}
.mk-vs-reason-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}
.mk-vs-reason-card p {
  margin: 0;
  font-size: var(--text-small);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 34ch;
}
@media (max-width: 640px) {
  .mk-vs-reason-card { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html.hx-motion .mk-vs-marquee-track,
  html.hx-motion .mk-vs-marquee--reverse .mk-vs-marquee-track {
    animation: none;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: var(--page-gutter);
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
  }
  .mk-vs-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 48px;
  }
  .mk-vs-marquee-group[aria-hidden="true"] { display: none; }
  .mk-vs-marquee-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}
.mk-vs-proof-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .mk-vs-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
}
.mk-vs-proof { margin: 0; }
.mk-vs-proof .lx-frame { margin-bottom: var(--space-3); }
.mk-vs-proof figcaption {
  font-size: var(--text-small);
  color: var(--ink-soft);
  line-height: 1.5;
}
.mk-vs-proof-links {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--text-caption);
  color: var(--ink-faint);
}
.mk-vs-proof-links a {
  color: var(--ink-soft);
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mk-vs-pricing-list {
  max-width: 40rem;
  margin: 0 auto var(--space-5);
}
.mk-vs-price-pills {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto var(--space-5);
  max-width: 52rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .mk-vs-price-pills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mk-vs-price-pills > div {
  padding: 18px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}
.mk-vs-price-pills > div:nth-child(2n) { border-right: 0; }
@media (min-width: 800px) {
  .mk-vs-price-pills > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .mk-vs-price-pills > div:last-child { border-right: 0; }
}
@media (max-width: 799px) {
  .mk-vs-price-pills > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}
.mk-vs-price-pills span {
  display: block;
  font-size: var(--text-caption);
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.mk-vs-price-pills strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.mk-vs-related {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .mk-vs-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mk-vs-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: none;
}
@media (min-width: 800px) {
  .mk-vs-related-card {
    padding: var(--space-5) var(--space-4);
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .mk-vs-related-card:last-child { border-right: 0; }
}
.mk-vs-related-card:hover {
  transform: none;
  box-shadow: none;
  color: var(--ink);
}
.mk-vs-related-card strong {
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.mk-vs-related-card span {
  font-size: var(--text-small);
  color: var(--ink-soft);
  line-height: 1.5;
}
.mk-vs-related-slider {
  width: 100%;
  max-width: none;
  margin: 0;
}
.mk-vs-related-slider .lx-slider-dot {
  color: var(--ink-soft);
  font-weight: 560;
}
.mk-vs-related-slider .lx-slider-dot:hover {
  color: var(--ink);
}
.mk-vs-related-slider .lx-slider-dot[aria-selected="true"] {
  color: var(--ink);
  font-weight: 680;
}
.mk-vs-related-slider .lx-slider-btn {
  color: var(--ink-soft);
}
.mk-vs-related-slider .lx-slider-btn:hover:not(:disabled) {
  color: var(--ink);
}
.mk-vs-related-slider .lx-slider-btn:disabled {
  opacity: 0.45;
  color: var(--ink-soft);
}
.mk-vs-related-slider .lx-slider-viewport {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.mk-vs-related-slider .lx-slider-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.mk-vs-related-slider .lx-slide.mk-vs-related-post {
  flex: 0 0 calc((100% - 16px) / 2);
  width: calc((100% - 16px) / 2);
  max-width: calc((100% - 16px) / 2);
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(72px, 112px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 26px);
  text-decoration: none;
  color: var(--ink);
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper-raised);
  box-shadow: var(--shadow-xs);
  min-height: 100%;
}
.mk-vs-related-slider .lx-slide.mk-vs-related-post:hover {
  color: var(--ink);
}
.mk-vs-related-slider .lx-slide.mk-vs-related-post:hover .mk-vs-related-post-body strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mk-vs-related-post-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-s);
  background: var(--paper-bright);
  border: 1px solid var(--line-on-light);
  box-sizing: border-box;
}
.mk-vs-related-post-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}
.mk-vs-related-post-media--mankai img {
  max-height: 44px;
}
.mk-vs-related-post-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-align: left;
}
.mk-vs-related-post-body strong {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.mk-vs-related-post-body span {
  font-size: var(--text-small);
  color: var(--ink-soft);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .mk-vs-related-slider .lx-slide.mk-vs-related-post {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  .mk-vs-related-post {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .mk-vs-related-post-media { padding: 10px; }
  .mk-vs-related-post-media img { max-height: 32px; }
  .mk-vs-related-post-body strong { font-size: 1.05rem; }
}
.mk-vs-archive-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 800px) {
  .mk-vs-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mk-vs-archive-grid .mk-vs-related-post {
  display: grid;
  grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 24px);
  text-decoration: none;
  color: var(--ink);
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper-raised);
  box-shadow: var(--shadow-xs);
  min-height: 100%;
  transition: border-color var(--speed) var(--ease-soft), background var(--speed) var(--ease-soft);
}
.mk-vs-archive-grid .mk-vs-related-post:hover {
  color: var(--ink);
  background: var(--mist);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line-strong));
}
.mk-vs-archive-grid .mk-vs-related-post:hover .mk-vs-related-post-body strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mk-vs-archive-note {
  margin: var(--space-6) auto 0;
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: center;
}
.mk-vs-archive-note a {
  color: var(--accent-deep);
  font-weight: 620;
}
.mk-vs-faq-links {
  margin: var(--space-3) 0 0;
  font-size: var(--text-small);
  color: var(--ink-faint);
  line-height: 1.6;
}
.mk-vs-faq-links a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mk-vs-faq-sources-date {
  margin: 0 0 var(--space-3);
  font-size: var(--text-small);
  color: var(--ink-faint);
}
.mk-vs-faq-sources {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 6px;
}
.mk-vs-faq-sources a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mk-vs-sources {
  font-size: var(--text-caption);
  color: var(--ink-faint);
  text-align: center;
}
section.mk-vs-sources {
  padding: var(--space-5) 0 var(--space-7);
}
.mk-vs-sources summary { cursor: pointer; font-weight: 620; color: var(--ink-soft); }
.mk-vs-sources ul {
  margin: 10px auto 0;
  max-width: 36rem;
  padding-left: 1.1rem;
  text-align: left;
}
.mk-vs-sources a { color: var(--ink-soft); }
@media (max-width: 640px) {
  .mk-vs-head h1 { max-width: none; }
  .mk-vs-toc { top: auto; position: relative; }
  .mk-vs-toc ul { justify-content: flex-start; }
}

/* Self-hosted landing */
.mk-sh-head { text-align: left; }
.mk-sh-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.mk-sh-head .lx-sub { max-width: 42rem; }
.mk-sh-prose {
  max-width: 44rem;
  font-size: var(--text-lede);
  line-height: 1.65;
  color: var(--ink-soft);
}
.mk-sh-prose p { margin: 0 0 var(--space-4); }
.mk-sh-prose p:last-child { margin-bottom: 0; }
.mk-sh-prose strong { color: var(--ink); font-weight: 650; }
.mk-sh-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .mk-sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-sh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mk-sh-card { height: 100%; }
.mk-sh-card h3 { margin-top: 0; }
.mk-sh-note {
  margin: var(--space-5) 0 0;
  max-width: 44rem;
  font-size: var(--text-small);
  color: var(--ink-soft);
  line-height: 1.55;
}
.mk-sh-note a {
  color: var(--ink);
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mk-sh-pricing-list { max-width: 40rem; margin-bottom: var(--space-5); }
.mk-sh-inline-link {
  margin: 0 0 var(--space-4);
  font-size: var(--text-small);
}
.mk-sh-inline-link a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .mk-sh-head h1 { max-width: none; }
}

/* ==========================================================================
   Homepage confident rebuild (v9.9) - body.home scoped where shared
   ========================================================================== */

body.home {
  /* Legacy home aliases → site-wide content width tokens */
  --home-gutter: var(--page-gutter);
  --home-container: var(--container);
  --home-container-wide: var(--container-wide);
  --home-radius: 12px;
}

.lx-home-container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}
.lx-home-container--wide {
  width: var(--container-wide);
  max-width: 100%;
  margin-inline: auto;
}

/* Full-bleed section utilities */
.lx-section--flat,
.lx-section--cream-flat,
.lx-section--sand-flat { background: var(--paper); }
.lx-section--night {
  background: var(--night);
  color: var(--night-ink);
}
.lx-section--night .lx-h2 { color: #FFFFFF; }
.lx-section--night .lx-sub { color: var(--night-soft); }

body.home .lx-feature-band {
  padding-block: clamp(64px, 7vw, 104px);
}
body.home .lx-support-band,
body.home #faq.lx-section {
  padding-block: clamp(48px, 5.5vw, 72px);
}
body.home .lx-money-band,
body.home .lx-photo-band {
  padding-block: clamp(64px, 7vw, 108px);
}
body.home .lx-feature-band .lx-h2,
body.home .lx-money-band .lx-h2,
body.home .lx-photo-band .lx-h2,
body.home .lx-pricing-band .lx-h2 {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  max-width: 14ch;
  letter-spacing: -0.025em;
}
body.home .lx-support-band .lx-h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}
body.home .lx-feature-band .lx-sub,
body.home .lx-money-band .lx-sub,
body.home .lx-photo-band .lx-sub,
body.home .lx-support-band .lx-sub {
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  max-width: 42rem;
  color: var(--ink-soft);
}
body.home .lx-money-band .lx-sub { color: var(--night-soft); }

body.home .lx-pricing-band.lx-section--night,
body.home .lx-money-band.lx-section--night {
  margin-inline: 0;
  border-radius: 0;
}

/* Trust row - compact, readable */
.lx-trust {
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.lx-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  align-items: center;
}
.lx-trust-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
  padding: 0 18px;
  border-right: 1px solid var(--line-strong);
  text-align: center;
}
.lx-trust-list li:last-child { border-right: 0; }
.lx-trust-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lx-trust-list span {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
}
@media (max-width: 900px) {
  .lx-trust-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .lx-trust-list li {
    border-right: 0;
    padding: 0 0 0 14px;
    border-left: 2px solid var(--accent);
    text-align: left;
  }
}

/* Feature splits: ~36% copy / ~64% visual */
body.home .lx-split--feature {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
body.home .lx-split--feature.lx-split--copy-first {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
}
body.home .lx-split--feature.lx-split--copy-first .lx-split-media { order: 2; }
body.home .lx-split--feature .lx-split-copy h2.lx-h2 {
  margin: 0 0 var(--space-4);
  max-width: 12ch;
}
body.home .lx-split--feature .lx-split-copy > p {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34rem;
}
body.home .lx-split--feature .lx-list li {
  font-size: 1.05rem;
  line-height: 1.5;
}
body.home .lx-media-primary {
  margin: 0;
}
body.home .lx-media-primary img,
body.home .lx-split--feature .lx-split-media > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  background: var(--paper-bright);
}
body.home .lx-media-stack {
  position: relative;
}
body.home .lx-media-chip {
  position: absolute;
  right: clamp(-8px, -1vw, -18px);
  bottom: clamp(-12px, -1.5vw, -28px);
  width: min(38%, 300px);
  margin: 0;
  z-index: 2;
}
body.home .lx-media-chip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  background: var(--paper-bright);
}
body.home .lx-media-chip figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
@media (max-width: 980px) {
  body.home .lx-split--feature,
  body.home .lx-split--feature.lx-split--copy-first {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home .lx-split--feature .lx-split-copy { order: 1; }
  body.home .lx-split--feature .lx-split-media,
  body.home .lx-split--feature.lx-split--copy-first .lx-split-media { order: 2; }
  body.home .lx-media-chip {
    position: static;
    width: min(72%, 280px);
    margin: -28px 0 0 auto;
  }
}

/* Dark money: primary ~62% + supporting stack */
.lx-money-band {
  background:
    radial-gradient(720px 320px at 85% 0%, rgb(187 197 191 / 0.12) 0%, transparent 58%),
    linear-gradient(180deg, var(--night-raised) 0%, var(--night) 100%);
}
.lx-money-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: stretch;
  margin-top: var(--space-7);
}
.lx-money-primary,
.lx-money-support {
  margin: 0;
  min-width: 0;
}
.lx-money-primary img,
.lx-money-support img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--night-line);
  background: var(--paper-bright);
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.55);
}
.lx-money-supports {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  justify-content: center;
}
.lx-money-primary figcaption,
.lx-money-support figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--night-soft);
}
@media (max-width: 900px) {
  .lx-money-stage { grid-template-columns: minmax(0, 1fr); }
  .lx-money-supports {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .lx-money-supports { grid-template-columns: minmax(0, 1fr); }
}

/* Gallery proof: UI-first, photography as context */
.lx-photo-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 24px);
  margin-top: var(--space-7);
  align-items: stretch;
}
.lx-photo-ui {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lx-photo-ui img {
  flex: 1;
  object-fit: cover;
  min-height: 420px;
}
.lx-photo-hero {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--paper-sunken);
  min-height: 220px;
  max-height: 320px;
}
.lx-photo-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lx-photo-detail {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  min-width: 0;
}
.lx-photo-ui img,
.lx-photo-detail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  background: var(--paper-bright);
}
.lx-photo-ui figcaption,
.lx-photo-detail figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.lx-photo-points {
  list-style: none;
  margin: var(--space-7) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.lx-photo-points li {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
@media (max-width: 980px) {
  .lx-photo-proof {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .lx-photo-ui,
  .lx-photo-hero,
  .lx-photo-detail {
    grid-column: auto;
    grid-row: auto;
  }
  .lx-photo-ui img { min-height: 0; }
  .lx-photo-hero {
    min-height: 220px;
    max-height: 300px;
  }
  .lx-photo-points { grid-template-columns: minmax(0, 1fr); }
}

/* Supporting feature grid - 3×2, readable */
.lx-support-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 40px);
}
.lx-support-item { min-width: 0; }
.lx-support-icon {
  display: inline-flex;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.lx-support-icon svg {
  width: 28px;
  height: 28px;
}
.lx-support-item h3 {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}
.lx-support-item p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .lx-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lx-support-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Pricing scale-up on home + pricing page band */
body.home .lx-pricing-band,
.lx-pricing-band.lx-section--night {
  padding-block: clamp(72px, 8vw, 120px);
}
body.home .lx-plans,
.lx-pricing-band .lx-plans {
  gap: var(--space-5);
}
body.home .lx-plan-body,
.lx-pricing-band .lx-plan-body {
  padding: 32px 28px 24px;
  gap: 18px;
}
body.home .lx-plan h3,
.lx-pricing-band .lx-plan h3 {
  font-size: 1.35rem;
}
body.home .lx-plan-price strong,
.lx-pricing-band .lx-plan-price strong {
  font-size: clamp(2rem, 2.6vw, 2.45rem);
}
body.home .lx-plan-for,
.lx-pricing-band .lx-plan-for {
  font-size: 1.02rem;
}
body.home .lx-plan .lx-list li,
.lx-pricing-band .lx-plan .lx-list li {
  font-size: 1rem;
  line-height: 1.5;
}
body.home .lx-plan .lx-btn,
.lx-pricing-band .lx-plan .lx-btn {
  min-height: 52px;
  font-size: 1.02rem;
}

body.home #finance.lx-panel,
body.home #pricing.lx-panel {
  margin-inline: 0;
  border-radius: 0;
}

body.home .lx-frame-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Toolkit feature preview grid (mockup sync) */
.lx-feature-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.lx-feature-preview li { min-width: 0; margin: 0; }
.lx-feature-preview a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 26px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lx-feature-preview li:nth-child(4n) a { border-right: 0; }
.lx-feature-preview a:hover {
  background: var(--ink);
  color: #fff;
}
.lx-fp-icon {
  display: flex;
  color: var(--accent);
}
.lx-fp-icon svg { width: 26px; height: 26px; }
.lx-feature-preview a:hover .lx-fp-icon { color: #fff; }
.lx-fp-label {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.lx-fp-arrow {
  opacity: 0.35;
  transform: translateX(-3px);
  transition: opacity 0.15s, transform 0.15s;
}
.lx-feature-preview a:hover .lx-fp-arrow {
  opacity: 1;
  transform: translateX(0);
}
.lx-feature-preview-foot {
  margin-top: 32px;
  text-align: center;
}
.lx-feature-preview-foot a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
}
.lx-feature-preview-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 980px) {
  .lx-feature-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-feature-preview li:nth-child(4n) a { border-right: 1px solid var(--line); }
  .lx-feature-preview li:nth-child(2n) a { border-right: 0; }
}
@media (max-width: 560px) {
  .lx-feature-preview { grid-template-columns: 1fr; }
  .lx-feature-preview a { border-right: 0; }
}

/* Ownership single panel */
.lx-own-compare { margin-top: 28px; }
.lx-own-col {
  padding: 20px 18px;
  border-radius: 14px;
  background: #F5F5F5;
}
.lx-own-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.lx-own-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lx-own-col li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.lx-own-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* Pricing cards: white, borderless, corner tags (mockup sync) */
.lx-pricing-band {
  background: var(--night);
}
.lx-pricing-top {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 52px);
}
.lx-pricing-top .lx-eyebrow { color: var(--accent); }
.lx-pricing-top .lx-h2 {
  margin-inline: auto;
  color: #fff;
}
.lx-pricing-top .lx-sub {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--night-soft);
}
.lx-plans {
  align-items: center;
  padding-block: 28px;
  gap: 18px;
}
.lx-plan {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 28px;
  box-shadow:
    0 4px 10px #00000022,
    0 18px 36px #00000040,
    0 40px 72px #0000002E;
  overflow: hidden;
}
.lx-plan-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  max-width: 58%;
  padding: 12px 16px 12px 18px;
  border-radius: 0 28px 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: right;
  box-shadow: -6px 8px 18px #00000033;
}
.lx-plan-corner--accent {
  background: var(--accent);
  box-shadow: -6px 8px 18px #2449E840;
}
.lx-plan-corner--olive {
  background: var(--olive, var(--mk-muted));
  box-shadow: -6px 8px 18px #62696840;
}
.lx-plan-body { padding: 32px 26px 18px; }
.lx-plan-titles h3 { padding-right: 8px; }
.lx-plan-foot {
  border-top: 0;
  padding-top: 8px;
}
.lx-plan--featured {
  padding: 0;
  margin-block: -28px;
  transform: none;
  box-shadow:
    0 6px 14px #00000028,
    0 24px 48px #0000004D,
    0 52px 90px #00000038;
  z-index: 1;
}
.lx-plan--featured .lx-plan-body { padding-top: 48px; padding-bottom: 28px; }
.lx-plan--featured .lx-plan-price strong { color: var(--accent); }
.lx-plan--core,
.lx-plan--service,
.lx-plan--theme {
  background: #fff;
  color: var(--ink);
}
.lx-plan--service .lx-plan-titles h3,
.lx-plan--service .lx-plan-price strong { color: var(--ink); }
.lx-plan--service .lx-plan-price span,
.lx-plan--service .lx-plan-for,
.lx-plan--service .lx-list li,
.lx-plan--service .lx-plan-note { color: var(--ink-soft); }
.lx-plan--service .lx-btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.lx-plan--service .lx-list li::before { background: var(--accent); }
@media (max-width: 980px) {
  .lx-plans { padding-block: 0; align-items: stretch; }
  .lx-plan--featured { margin-block: 0; }
}

/* --------------------------------------------------------------------------
   Hybrid homepage: feature sliders + centered money
   -------------------------------------------------------------------------- */
body.home .lx-feature-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
body.home .lx-feature-slider--flip {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
body.home .lx-feature-slider--flip .lx-feature-slider-media { order: 1; }
body.home .lx-feature-slider--flip .lx-feature-slider-copy { order: 2; }
body.home .lx-feature-slider-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
body.home .lx-feature-slider-text,
body.home .lx-feature-slider-media {
  display: grid;
}
body.home .lx-feature-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin: 0;
}
body.home .lx-feature-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.home .lx-feature-slider-copy .lx-h2 {
  margin: 0 0 var(--space-4);
  max-width: 14ch;
}
body.home .lx-feature-slider-copy > .lx-feature-slider-text p,
body.home .lx-feature-slide > p {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36rem;
}
body.home .lx-feature-slider-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 36px;
}
body.home .lx-feature-slider-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
}
body.home .lx-feature-slider-tabs button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
}
body.home .lx-feature-slider-tabs button[aria-selected="true"] {
  color: var(--ink);
  font-weight: 650;
}
body.home .lx-feature-slider-tabs button:hover { color: var(--ink); }
body.home .lx-feature-slider-sep {
  color: var(--line-strong);
  font-weight: 400;
  user-select: none;
}
body.home .lx-feature-slider-arrows {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.home .lx-feature-slider-arrows button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
body.home .lx-feature-slider-arrows button:hover { color: var(--accent); }
body.home .lx-feature-slider .lx-media-primary img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  background: var(--paper-bright);
}
body.home .lx-feature-slider .lx-media-stack {
  position: relative;
  padding-bottom: 36px;
}
body.home .lx-feature-slider .lx-media-chip {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: min(44%, 300px);
  margin: 0;
  z-index: 2;
}
body.home .lx-feature-slider .lx-media-chip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 22px 50px -18px rgb(0 0 0 / 0.45);
  background: var(--paper-bright);
}

/* Centered money band */
body.home .lx-money-points {
  list-style: none;
  margin: 0 auto 48px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 36px;
  width: fit-content;
  max-width: 100%;
}
body.home .lx-money-points li {
  color: var(--night-soft);
  white-space: nowrap;
  flex: 0 0 auto;
  font-size: 0.98rem;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
body.home .lx-money-shot {
  width: min(920px, 100%);
  margin: 0 auto;
}
body.home .lx-money-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--night-line);
  background: var(--paper-bright);
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.55);
}

@media (max-width: 980px) {
  body.home .lx-feature-slider,
  body.home .lx-feature-slider--flip {
    grid-template-columns: 1fr;
  }
  body.home .lx-feature-slider--flip .lx-feature-slider-media,
  body.home .lx-feature-slider--flip .lx-feature-slider-copy {
    order: unset;
  }
  body.home .lx-feature-slider-copy { order: 1; }
  body.home .lx-feature-slider-media { order: 2; }
  body.home .lx-feature-slider .lx-media-chip {
    position: static;
    width: min(72%, 280px);
    margin: -28px 0 0 auto;
  }
  body.home .lx-money-points li { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .lx-feature-slide { transition: none; }
}
