/* ==========================================================================
   Fastap marketing design system
   Used by: homepage, auth pages, and the shared marketing header/footer.
   Every selector is namespaced with .mk- so it can sit next to the older
   redesign/*.css and Bootstrap files on pages that still load them.
   ========================================================================== */

:root {
  /* Brand (sampled from the Fastap signal mark) */
  --mk-brand-50: #faf3fb;
  --mk-brand-100: #f3e3f5;
  --mk-brand-200: #e6c6ea;
  --mk-brand-400: #b865bd;
  --mk-brand-500: #9c44a2;
  --mk-brand-600: #83338a;
  --mk-brand-700: #6c2872;
  --mk-brand-900: #3b1440;

  /* Neutrals */
  --mk-ink: #0f172a;
  --mk-ink-2: #1e293b;
  --mk-text: #334155;
  --mk-muted: #64748b;
  --mk-line: #e2e8f0;
  --mk-line-strong: #cbd5e1;
  --mk-surface: #ffffff;
  --mk-surface-2: #f8fafc;
  --mk-surface-3: #f1f5f9;

  /* Feedback */
  --mk-success: #047857;
  --mk-success-bg: #ecfdf5;
  --mk-danger: #b91c1c;
  --mk-danger-bg: #fef2f2;
  --mk-whatsapp: #25d366;

  /* Type */
  --mk-font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mk-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mk-fs-xs: 0.75rem;
  --mk-fs-sm: 0.875rem;
  --mk-fs-base: 1rem;
  --mk-fs-md: 1.125rem;
  --mk-fs-lg: 1.25rem;
  --mk-fs-xl: 1.5rem;
  --mk-fs-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --mk-fs-3xl: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);

  /* Spacing scale (4px base) */
  --mk-s1: 0.25rem;
  --mk-s2: 0.5rem;
  --mk-s3: 0.75rem;
  --mk-s4: 1rem;
  --mk-s5: 1.25rem;
  --mk-s6: 1.5rem;
  --mk-s8: 2rem;
  --mk-s10: 2.5rem;
  --mk-s12: 3rem;
  --mk-s16: 4rem;
  --mk-s20: 5rem;
  --mk-s24: 6rem;

  /* Shape & depth */
  --mk-r-sm: 8px;
  --mk-r-md: 12px;
  --mk-r-lg: 16px;
  --mk-r-xl: 24px;
  --mk-r-full: 999px;
  --mk-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --mk-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --mk-shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18);

  --mk-container: 1200px;
  --mk-gutter: 16px;
  --mk-header-h: 64px;
  --mk-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --mk-gutter: 32px; --mk-header-h: 72px; }
}

/* ---------- Page base (only on pages that opt in with .mk-page) ---------- */
.mk-page {
  margin: 0;
  background: var(--mk-surface);
  color: var(--mk-text);
  font-family: var(--mk-font-body);
  font-size: var(--mk-fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.mk-page *,
.mk-page *::before,
.mk-page *::after,
.mk-header *, .mk-header *::before, .mk-header *::after,
.mk-footer *, .mk-footer *::before, .mk-footer *::after { box-sizing: border-box; }
:where(.mk-page) img { max-width: 100%; display: block; }
:where(.mk-page) a { color: inherit; }
:where(.mk-page) :where(h1, h2, h3, h4) {
  font-family: var(--mk-font-display);
  color: var(--mk-ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
:where(.mk-page) p { margin: 0; }

.mk-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mk-skip {
  position: absolute; left: var(--mk-s4); top: -100px; z-index: 2000;
  background: var(--mk-ink); color: #fff; padding: var(--mk-s2) var(--mk-s4);
  border-radius: var(--mk-r-sm); text-decoration: none; font-weight: 600;
}
.mk-skip:focus { top: var(--mk-s4); }

.mk-container {
  width: 100%;
  max-width: calc(var(--mk-container) + var(--mk-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--mk-gutter);
}

:where(.mk-page, .mk-header, .mk-footer) :focus-visible {
  outline: 2px solid var(--mk-brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mk-s2);
  min-height: 44px;
  padding: 0 var(--mk-s5);
  border-radius: var(--mk-r-md);
  border: 1px solid transparent;
  font-family: var(--mk-font-body);
  font-size: var(--mk-fs-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--mk-ease), border-color .2s var(--mk-ease), color .2s var(--mk-ease), box-shadow .2s var(--mk-ease);
}
.mk-btn i { font-size: 0.9em; }
.mk-btn--sm { min-height: 38px; padding: 0 var(--mk-s4); font-size: var(--mk-fs-sm); border-radius: var(--mk-r-sm); }
.mk-btn--lg { min-height: 52px; padding: 0 var(--mk-s6); font-size: var(--mk-fs-md); }
.mk-btn--block { width: 100%; }
.mk-btn--primary { background: var(--mk-brand-600); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, var(--mk-shadow-sm); }
.mk-btn--primary:hover { background: var(--mk-brand-700); }
.mk-btn--dark { background: var(--mk-ink); color: #fff !important; }
.mk-btn--dark:hover { background: var(--mk-ink-2); }
.mk-btn--outline { background: var(--mk-surface); color: var(--mk-ink) !important; border-color: var(--mk-line-strong); }
.mk-btn--outline:hover { border-color: var(--mk-ink); }
.mk-btn--ghost { background: transparent; color: var(--mk-ink) !important; }
.mk-btn--ghost:hover { background: var(--mk-surface-3); }
.mk-btn--light { background: #fff; color: var(--mk-ink) !important; }
.mk-btn--light:hover { background: var(--mk-brand-50); }
.mk-btn--on-dark { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }
.mk-btn--on-dark:hover { border-color: #fff; }

.mk-link {
  color: var(--mk-brand-600) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--mk-s2);
}
.mk-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.mk-link i { font-size: .8em; transition: transform .2s var(--mk-ease); }
.mk-link:hover i { transform: translateX(3px); }

/* ---------- Section scaffolding ---------- */
.mk-section { padding: var(--mk-s16) 0; }
@media (min-width: 1024px) { .mk-section { padding: var(--mk-s24) 0; } }
.mk-section--tint { background: var(--mk-surface-2); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }

.mk-eyebrow {
  display: inline-flex; align-items: center; gap: var(--mk-s2);
  font-size: var(--mk-fs-sm); font-weight: 600; color: var(--mk-brand-600);
  letter-spacing: .01em; margin-bottom: var(--mk-s3);
}
.mk-section-head { max-width: 680px; margin-bottom: var(--mk-s10); }
.mk-section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.mk-h2 { font-size: var(--mk-fs-2xl); font-weight: 700; }
.mk-lead { font-size: var(--mk-fs-md); color: var(--mk-muted); margin-top: var(--mk-s4) !important; line-height: 1.65; }

/* ==========================================================================
   Header
   ========================================================================== */
.mk-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--mk-header-h);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--mk-line);
  box-shadow: 0 2px 14px rgba(15, 23, 42, .07);
  font-family: var(--mk-font-body);
  transition: border-color .2s, box-shadow .2s;
}
.mk-header.is-scrolled { border-bottom-color: var(--mk-line); box-shadow: 0 4px 20px rgba(15, 23, 42, .10); }
.mk-header-spacer { height: var(--mk-header-h); }
.mk-header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--mk-s6); }
.mk-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.mk-header__logo img { height: 34px; width: auto; display: block; }
@media (min-width: 768px) { .mk-header__logo img { height: 38px; } }

.mk-nav { display: none; }
.mk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--mk-s1); }
.mk-nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 var(--mk-s3);
  border-radius: var(--mk-r-sm);
  color: var(--mk-text) !important; font-size: 0.9375rem; font-weight: 500;
  text-decoration: none !important;
  transition: color .15s, background-color .15s;
}
.mk-nav a:hover { color: var(--mk-ink) !important; background: var(--mk-surface-3); }
.mk-nav a[aria-current="page"] { color: var(--mk-brand-600) !important; font-weight: 600; }

.mk-header__actions { display: flex; align-items: center; gap: var(--mk-s2); }
.mk-header__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--mk-r-sm); color: var(--mk-ink) !important;
  text-decoration: none !important;
}
.mk-header__cart:hover { background: var(--mk-surface-3); }
.mk-header__cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--mk-r-full); background: var(--mk-brand-600); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.mk-header__desktop-only { display: none !important; }

.mk-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--mk-line); border-radius: var(--mk-r-sm);
  background: #fff; color: var(--mk-ink); cursor: pointer; padding: 0;
}
.mk-burger__lines, .mk-burger__lines::before, .mk-burger__lines::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s var(--mk-ease), opacity .2s;
  position: relative;
}
.mk-burger__lines::before, .mk-burger__lines::after { content: ""; position: absolute; left: 0; }
.mk-burger__lines::before { top: -6px; }
.mk-burger__lines::after { top: 6px; }
.mk-burger[aria-expanded="true"] .mk-burger__lines { background: transparent; }
.mk-burger[aria-expanded="true"] .mk-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.mk-burger[aria-expanded="true"] .mk-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

.mk-drawer {
  position: fixed; top: var(--mk-header-h); left: 0; right: 0; bottom: 0; z-index: 1029;
  background: #fff; overflow-y: auto;
  padding: var(--mk-s4) var(--mk-gutter) var(--mk-s10);
  border-top: 1px solid var(--mk-line);
  font-family: var(--mk-font-body);
}
.mk-drawer[hidden] { display: none; }
.mk-drawer ul { list-style: none; margin: 0; padding: 0; }
.mk-drawer li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--mk-s4) 0; border-bottom: 1px solid var(--mk-line);
  color: var(--mk-ink) !important; font-size: var(--mk-fs-md); font-weight: 600; text-decoration: none !important;
}
.mk-drawer li a i { color: var(--mk-muted); font-size: .8em; }
.mk-drawer li a[aria-current="page"] { color: var(--mk-brand-600) !important; }
.mk-drawer__sub { margin-top: var(--mk-s6); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--mk-s2) var(--mk-s4); }
.mk-drawer__sub a { color: var(--mk-muted) !important; font-size: var(--mk-fs-sm); text-decoration: none !important; padding: var(--mk-s1) 0; }
.mk-drawer__cta { display: grid; gap: var(--mk-s3); margin-top: var(--mk-s8); }
body.mk-drawer-open { overflow: hidden; }

@media (min-width: 1024px) {
  .mk-nav { display: block; }
  .mk-burger, .mk-drawer { display: none !important; }
  .mk-header__desktop-only { display: inline-flex !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.mk-hero { position: relative; padding: var(--mk-s10) 0 var(--mk-s16); overflow: hidden; }
.mk-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(60% 50% at 85% 10%, var(--mk-brand-50) 0%, rgba(250,243,251,0) 70%),
    linear-gradient(180deg, #fff 0%, var(--mk-surface-2) 100%);
  z-index: -1;
}
.mk-hero__grid { display: grid; gap: var(--mk-s12); align-items: center; }
.mk-hero__pill {
  display: inline-flex; align-items: center; gap: var(--mk-s2);
  padding: 6px 12px 6px 6px; border-radius: var(--mk-r-full);
  background: #fff; border: 1px solid var(--mk-line); box-shadow: var(--mk-shadow-sm);
  font-size: var(--mk-fs-sm); color: var(--mk-text); font-weight: 500; margin-bottom: var(--mk-s6);
}
.mk-hero__pill b { white-space: nowrap; flex-shrink: 0;
  background: var(--mk-brand-50); color: var(--mk-brand-700); border-radius: var(--mk-r-full);
  padding: 2px 10px; font-weight: 600; font-size: var(--mk-fs-xs);
}
.mk-hero h1 { font-size: var(--mk-fs-3xl); font-weight: 800; letter-spacing: -0.028em; line-height: 1.06; }
.mk-hero h1 .mk-accent { color: var(--mk-brand-600); }
.mk-hero__sub { margin-top: var(--mk-s5) !important; font-size: var(--mk-fs-md); color: var(--mk-muted); max-width: 540px; line-height: 1.65; }
.mk-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--mk-s3); margin-top: var(--mk-s8); }
.mk-hero__ctas .mk-btn { flex: 1 1 auto; }
@media (min-width: 480px) { .mk-hero__ctas .mk-btn { flex: 0 0 auto; } }
.mk-checks { list-style: none; padding: 0; margin: var(--mk-s8) 0 0; display: flex; flex-wrap: wrap; gap: var(--mk-s3) var(--mk-s6); }
.mk-checks li { display: inline-flex; align-items: center; gap: var(--mk-s2); font-size: var(--mk-fs-sm); color: var(--mk-text); font-weight: 500; }
.mk-checks i { color: var(--mk-success); }

.mk-hero__visual { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.mk-hero__photo {
  position: relative; border-radius: var(--mk-r-xl); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--mk-shadow-lg); background: var(--mk-surface-3);
}
.mk-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (min-width: 640px) { .mk-hero__photo { aspect-ratio: 5 / 5.2; } }

/* Floating sample profile card */
.mk-profile {
  position: absolute; left: -8px; bottom: -28px; width: 230px;
  background: #fff; border-radius: var(--mk-r-lg); box-shadow: var(--mk-shadow-lg);
  border: 1px solid var(--mk-line); padding: var(--mk-s4); font-family: var(--mk-font-body);
}
@media (min-width: 640px) { .mk-profile { left: -40px; width: 260px; } }
.mk-profile__tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }
.mk-profile__head { display: flex; align-items: center; gap: var(--mk-s3); margin-top: var(--mk-s2); }
.mk-profile__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--mk-surface-3); }
.mk-profile__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mk-profile__name { font-weight: 700; color: var(--mk-ink); font-size: var(--mk-fs-sm); line-height: 1.3; }
.mk-profile__role { font-size: var(--mk-fs-xs); color: var(--mk-muted); }
.mk-profile__actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: var(--mk-s3); }
.mk-profile__actions span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0;
  border-radius: var(--mk-r-sm); background: var(--mk-surface-2); font-size: 10px; color: var(--mk-text); font-weight: 500;
}
.mk-profile__actions i { color: var(--mk-brand-600); font-size: 13px; }
.mk-profile__actions span.is-wa i { color: #128c7e; }
.mk-profile__book {
  margin-top: var(--mk-s3); display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; border-radius: var(--mk-r-sm); background: var(--mk-brand-600); color: #fff; font-size: var(--mk-fs-xs); font-weight: 600;
}
.mk-tap-chip {
  position: absolute; right: -6px; top: 28px;
  display: flex; align-items: center; gap: var(--mk-s3);
  background: #fff; border-radius: var(--mk-r-md); padding: var(--mk-s3) var(--mk-s4);
  box-shadow: var(--mk-shadow-lg); border: 1px solid var(--mk-line); font-size: var(--mk-fs-sm);
}
@media (min-width: 640px) { .mk-tap-chip { right: -28px; } }
.mk-tap-chip__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mk-success-bg); color: var(--mk-success);
}
.mk-tap-chip b { display: block; color: var(--mk-ink); font-size: var(--mk-fs-sm); line-height: 1.2; }
.mk-tap-chip small { color: var(--mk-muted); font-size: var(--mk-fs-xs); }

@media (min-width: 1024px) {
  .mk-hero { padding: var(--mk-s16) 0 var(--mk-s24); }
  .mk-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--mk-s16); }
  .mk-hero__visual { margin: 0 0 0 auto; }
}

/* Trust / audience strip */
.mk-strip { border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); background: #fff; }
.mk-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--mk-s3) var(--mk-s8); padding: var(--mk-s5) 0; }
.mk-strip__label { font-size: var(--mk-fs-sm); color: var(--mk-muted); font-weight: 500; width: 100%; text-align: center; }
.mk-strip__item { display: inline-flex; align-items: center; gap: var(--mk-s2); color: var(--mk-ink-2); font-weight: 600; font-size: var(--mk-fs-sm); }
.mk-strip__item i { color: var(--mk-muted); }
@media (min-width: 1024px) { .mk-strip__label { width: auto; } }

/* ==========================================================================
   How it works
   ========================================================================== */
.mk-steps-wrap { display: grid; gap: var(--mk-s10); align-items: center; }
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mk-s4); counter-reset: step; }
.mk-step {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--mk-s4);
  padding: var(--mk-s5); background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-r-lg);
}
.mk-step__num {
  width: 48px; height: 48px; border-radius: var(--mk-r-md); display: grid; place-items: center;
  background: var(--mk-brand-50); color: var(--mk-brand-700); font-family: var(--mk-font-display); font-weight: 800; font-size: var(--mk-fs-lg);
}
.mk-step h3 { font-size: var(--mk-fs-md); font-weight: 700; margin-bottom: var(--mk-s1) !important; }
.mk-step p { color: var(--mk-muted); font-size: 0.9375rem; }
.mk-steps-photo { border-radius: var(--mk-r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--mk-shadow-md); position: relative; }
.mk-steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-steps-photo figcaption {
  position: absolute; left: var(--mk-s4); bottom: var(--mk-s4); right: var(--mk-s4);
  background: rgba(15,23,42,.72); color: #fff; font-size: var(--mk-fs-sm); padding: var(--mk-s3) var(--mk-s4);
  border-radius: var(--mk-r-md); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (min-width: 1024px) { .mk-steps-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--mk-s16); } }

/* ==========================================================================
   Industries (photo cards)
   ========================================================================== */
.mk-industries { display: grid; gap: var(--mk-s4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .mk-industries { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .mk-industries { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mk-s5); } }
.mk-industry {
  position: relative; display: block; border-radius: var(--mk-r-lg); overflow: hidden;
  aspect-ratio: 3 / 4; text-decoration: none !important; background: var(--mk-ink);
  isolation: isolate;
}
.mk-industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mk-ease); z-index: -1; }
.mk-industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 38%, rgba(15,23,42,.6) 62%, rgba(15,23,42,.92) 100%); z-index: -1; }
.mk-industry:hover img { transform: scale(1.04); }
.mk-industry__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--mk-s5); color: #fff; }
.mk-industry__body h3 { color: #fff !important; font-size: var(--mk-fs-lg); font-weight: 700; }
.mk-industry__body p { color: rgba(255,255,255,.82); font-size: var(--mk-fs-sm); margin-top: var(--mk-s1) !important; }
.mk-industry__body span { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--mk-s3); font-size: var(--mk-fs-sm); font-weight: 600; color: #fff; }

/* ==========================================================================
   Theme gallery
   ========================================================================== */
.mk-filters { display: flex; gap: var(--mk-s2); overflow-x: auto; padding-bottom: var(--mk-s2); margin-bottom: var(--mk-s6); scrollbar-width: none; }
.mk-filters::-webkit-scrollbar { display: none; }
.mk-chip {
  flex-shrink: 0; height: 36px; padding: 0 var(--mk-s4); border-radius: var(--mk-r-full);
  border: 1px solid var(--mk-line-strong); background: #fff; color: var(--mk-text);
  font: 500 var(--mk-fs-sm)/1 var(--mk-font-body); cursor: pointer; transition: all .15s;
}
.mk-chip:hover { border-color: var(--mk-ink); color: var(--mk-ink); }
.mk-chip[aria-pressed="true"] { background: var(--mk-ink); border-color: var(--mk-ink); color: #fff; }

.mk-themes { display: grid; gap: var(--mk-s3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .mk-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .mk-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mk-themes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mk-theme {
  display: flex; align-items: center; gap: var(--mk-s4); padding: var(--mk-s4);
  background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-r-lg);
  text-decoration: none !important; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--mk-ease);
}
.mk-theme:hover { border-color: var(--mk-brand-200); box-shadow: var(--mk-shadow-md); transform: translateY(-2px); }
.mk-theme[hidden] { display: none; }
.mk-theme { min-width: 0; }
.mk-themes-more { display: none; margin: var(--mk-s5) auto 0; }
@media (max-width: 559px) {
  .mk-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mk-s2); }
  .mk-themes .mk-theme { flex-direction: column; align-items: flex-start; gap: var(--mk-s3); padding: var(--mk-s4) var(--mk-s3); }
  .mk-themes .mk-theme__icon { width: 40px; height: 40px; font-size: 17px; }
  .mk-themes .mk-theme__desc, .mk-themes .mk-theme__go { display: none; }
  .mk-themes .mk-theme__name { font-size: var(--mk-fs-sm); }
}
@media (max-width: 767px) {
  .mk-themes--collapsed .mk-theme:nth-child(n+9) { display: none; }
  .mk-themes--collapsed + .mk-themes-more { display: flex; }
}
.mk-theme--ask { border-style: dashed; border-color: var(--mk-line-strong); background: transparent; }
.mk-theme--ask .mk-theme__icon { background: var(--mk-surface-3); color: var(--mk-ink); }
.mk-theme__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--mk-r-md);
  display: grid; place-items: center; font-size: 20px;
  background: var(--mk-tone-bg, var(--mk-brand-50)); color: var(--mk-tone, var(--mk-brand-600));
  box-shadow: inset 0 -2px 0 rgba(15,23,42,.06);
}
.mk-theme__text { min-width: 0; flex: 1; }
.mk-theme__name { display: block; font-weight: 700; color: var(--mk-ink); font-size: 0.9375rem; line-height: 1.3; }
.mk-theme__desc { display: block; font-size: var(--mk-fs-xs); color: var(--mk-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-theme__go { color: var(--mk-muted); font-size: 13px; transition: color .2s, transform .2s; }
.mk-theme:hover .mk-theme__go { color: var(--mk-brand-600); transform: translateX(3px); }

/* tones */
.mk-tone--rose { --mk-tone: #be123c; --mk-tone-bg: #fff1f2; }
.mk-tone--blue { --mk-tone: #1d4ed8; --mk-tone-bg: #eff6ff; }
.mk-tone--teal { --mk-tone: #0f766e; --mk-tone-bg: #f0fdfa; }
.mk-tone--amber { --mk-tone: #b45309; --mk-tone-bg: #fffbeb; }
.mk-tone--violet { --mk-tone: #6d28d9; --mk-tone-bg: #f5f3ff; }
.mk-tone--green { --mk-tone: #15803d; --mk-tone-bg: #f0fdf4; }
.mk-tone--slate { --mk-tone: #334155; --mk-tone-bg: #f1f5f9; }
.mk-tone--brand { --mk-tone: var(--mk-brand-600); --mk-tone-bg: var(--mk-brand-50); }

/* ==========================================================================
   Features
   ========================================================================== */
.mk-features { display: grid; gap: var(--mk-s4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .mk-features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .mk-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mk-s5); } }
.mk-feature { padding: var(--mk-s6); background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-r-lg); }
.mk-feature__icon {
  width: 48px; height: 48px; border-radius: var(--mk-r-md); display: grid; place-items: center;
  font-size: 20px; margin-bottom: var(--mk-s5);
  background: linear-gradient(180deg, var(--mk-tone-bg, var(--mk-brand-50)) 0%, #fff 140%);
  color: var(--mk-tone, var(--mk-brand-600));
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 6px 14px -8px var(--mk-tone, var(--mk-brand-600));
}
.mk-feature h3 { font-size: var(--mk-fs-md); font-weight: 700; }
@media (max-width: 639px) {
  .mk-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--mk-s4); padding: var(--mk-s5); }
  .mk-feature__icon { grid-row: span 2; margin-bottom: 0; }
  .mk-industry { aspect-ratio: 4 / 3; }
}
.mk-feature p { color: var(--mk-muted); font-size: 0.9375rem; margin-top: var(--mk-s2) !important; }

.mk-split { display: grid; gap: var(--mk-s10); align-items: center; margin-top: var(--mk-s12); }
.mk-split__photo { border-radius: var(--mk-r-xl); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--mk-shadow-md); }
.mk-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-split h3 { font-size: var(--mk-fs-xl); font-weight: 700; }
.mk-split p { color: var(--mk-muted); margin-top: var(--mk-s3) !important; }
.mk-list { list-style: none; padding: 0; margin: var(--mk-s5) 0 0; display: grid; gap: var(--mk-s3); }
.mk-list li { display: grid; grid-template-columns: 22px 1fr; gap: var(--mk-s2); color: var(--mk-text); }
.mk-list i { color: var(--mk-brand-600); margin-top: 5px; font-size: 14px; }
@media (min-width: 1024px) { .mk-split { grid-template-columns: 1.1fr 0.9fr; gap: var(--mk-s16); } }

/* ==========================================================================
   Products
   ========================================================================== */
.mk-products { display: grid; gap: var(--mk-s5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .mk-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-lg); overflow: hidden; position: relative;
}
.mk-product--featured { border-color: var(--mk-brand-400); box-shadow: 0 0 0 1px var(--mk-brand-400), var(--mk-shadow-md); }
.mk-product__media { aspect-ratio: 4 / 3; background: #0b0b0f; overflow: hidden; }
.mk-product__media img { width: 100%; height: 100%; object-fit: cover; }
.mk-product__badge {
  position: absolute; top: var(--mk-s4); left: var(--mk-s4);
  background: #fff; color: var(--mk-ink); font-size: var(--mk-fs-xs); font-weight: 700;
  padding: 4px 10px; border-radius: var(--mk-r-full); box-shadow: var(--mk-shadow-sm);
}
.mk-product__body { padding: var(--mk-s6); display: flex; flex-direction: column; flex: 1; }
.mk-product__body h3 { font-size: var(--mk-fs-lg); font-weight: 700; }
.mk-product__price { margin-top: var(--mk-s2) !important; font-family: var(--mk-font-display); font-size: var(--mk-fs-xl); font-weight: 800; color: var(--mk-ink); }
.mk-product__price small { font-family: var(--mk-font-body); font-size: var(--mk-fs-sm); font-weight: 500; color: var(--mk-muted); }
.mk-product__desc { color: var(--mk-muted); font-size: 0.9375rem; margin-top: var(--mk-s2) !important; }
.mk-product .mk-list { margin-bottom: var(--mk-s6); font-size: 0.9375rem; }
.mk-product .mk-btn { margin-top: auto; }
.mk-note { margin-top: var(--mk-s6) !important; text-align: center; color: var(--mk-muted); font-size: var(--mk-fs-sm); }

/* Teams band */
.mk-band {
  display: grid; overflow: hidden; border-radius: var(--mk-r-xl); background: var(--mk-ink); color: #fff;
}
.mk-band__photo { min-height: 240px; position: relative; }
.mk-band__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-band__body { padding: var(--mk-s10) var(--mk-s6); }
.mk-band__body .mk-eyebrow { color: var(--mk-brand-200); }
.mk-band__body h2 { color: #fff !important; font-size: var(--mk-fs-2xl); font-weight: 700; }
.mk-band__body p { color: rgba(255,255,255,.75); margin-top: var(--mk-s4) !important; }
.mk-band__body .mk-list li { color: rgba(255,255,255,.9); }
.mk-band__body .mk-list i { color: var(--mk-brand-200); }
.mk-band__ctas { display: flex; flex-wrap: wrap; gap: var(--mk-s3); margin-top: var(--mk-s8); }
@media (min-width: 900px) {
  .mk-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mk-band__body { padding: var(--mk-s16) var(--mk-s12); }
}

/* Testimonials (only rendered when real ones exist in the DB) */
.mk-quotes { display: grid; gap: var(--mk-s4); }
@media (min-width: 900px) { .mk-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-quote { padding: var(--mk-s6); border: 1px solid var(--mk-line); border-radius: var(--mk-r-lg); background: #fff; }
.mk-quote p { color: var(--mk-ink-2); }
.mk-quote footer { margin-top: var(--mk-s4); font-weight: 600; color: var(--mk-ink); font-size: var(--mk-fs-sm); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.mk-faq-wrap { display: grid; gap: var(--mk-s10); }
@media (min-width: 1024px) { .mk-faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: var(--mk-s16); } }
.mk-faq { border-top: 1px solid var(--mk-line); }
.mk-faq details { border-bottom: 1px solid var(--mk-line); }
.mk-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--mk-s4);
  padding: var(--mk-s5) 0; font-weight: 600; color: var(--mk-ink); font-size: var(--mk-fs-base);
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after {
  content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px; color: var(--mk-muted);
  transition: transform .2s var(--mk-ease);
}
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq details p { padding: 0 0 var(--mk-s5); color: var(--mk-muted); max-width: 62ch; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.mk-cta {
  position: relative; overflow: hidden; border-radius: var(--mk-r-xl); isolation: isolate;
  padding: var(--mk-s12) var(--mk-s6); color: #fff; background: var(--mk-brand-900);
}
.mk-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 70% 30%; }
.mk-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(59,20,64,.95) 0%, rgba(59,20,64,.85) 45%, rgba(59,20,64,.35) 100%); }
.mk-cta h2 { color: #fff !important; font-size: var(--mk-fs-2xl); font-weight: 800; max-width: 560px; }
.mk-cta p { color: rgba(255,255,255,.82); margin-top: var(--mk-s4) !important; max-width: 520px; font-size: var(--mk-fs-md); }
.mk-cta .mk-hero__ctas { margin-top: var(--mk-s8); }
@media (min-width: 900px) { .mk-cta { padding: var(--mk-s20) var(--mk-s16); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.mk-footer {
  background: var(--mk-ink); color: rgba(255,255,255,.72);
  font-family: var(--mk-font-body); font-size: var(--mk-fs-sm); line-height: 1.6;
  padding: var(--mk-s16) 0 var(--mk-s8); margin-top: 0;
}
.mk-footer a { color: rgba(255,255,255,.72) !important; text-decoration: none !important; transition: color .15s; }
.mk-footer a:hover { color: #fff !important; }
.mk-footer__grid { display: grid; gap: var(--mk-s10); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mk-footer__brand { grid-column: 1 / -1; max-width: 360px; }
.mk-footer__brand img { height: 40px; width: auto; display: block; }
.mk-footer__brand p { margin: var(--mk-s4) 0 0; color: rgba(255,255,255,.65); }
.mk-footer h2 {
  font-family: var(--mk-font-body); font-size: var(--mk-fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; margin: 0 0 var(--mk-s4); line-height: 1.4;
}
.mk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mk-s3); }
.mk-footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: var(--mk-s3); }
.mk-footer__contact i { color: var(--mk-brand-200); margin-top: 4px; }
.mk-social { display: flex; gap: var(--mk-s2); margin-top: var(--mk-s6); }
.mk-social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--mk-r-sm);
  border: 1px solid rgba(255,255,255,.14); color: #fff !important;
}
.mk-social a:hover { background: rgba(255,255,255,.08); }
.mk-footer__bottom {
  margin-top: var(--mk-s12); padding-top: var(--mk-s6); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: var(--mk-s4);
}
.mk-footer__legal { display: flex; flex-wrap: wrap; gap: var(--mk-s2) var(--mk-s5); }
.mk-footer p { margin: 0; color: rgba(255,255,255,.65); font-size: var(--mk-fs-sm); }
.mk-footer .mk-footer__brand p { margin-top: var(--mk-s5); }
@media (min-width: 768px) {
  .mk-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
  .mk-footer__brand { grid-column: auto; }
  .mk-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* WhatsApp floating button */
.mk-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 1020;
  display: inline-flex; align-items: center; gap: var(--mk-s2);
  height: 52px; padding: 0 18px 0 14px; border-radius: var(--mk-r-full);
  background: var(--mk-whatsapp); color: #06301a !important; text-decoration: none !important;
  font: 600 var(--mk-fs-sm)/1 var(--mk-font-body, sans-serif);
  box-shadow: 0 10px 24px -8px rgba(18, 140, 126, .55);
  transition: transform .2s var(--mk-ease);
}
.mk-wa i { font-size: 24px; color: #06301a; }
.mk-wa:hover { transform: translateY(-2px); }
.mk-wa span { display: none; }
@media (min-width: 768px) { .mk-wa { right: 24px; bottom: 24px; } .mk-wa span { display: inline; } }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.mk-auth { min-height: 100vh; display: grid; background: #fff; }
.mk-auth__main { display: flex; flex-direction: column; padding: var(--mk-s5) var(--mk-gutter) var(--mk-s10); }
.mk-auth__top { display: flex; align-items: center; justify-content: space-between; gap: var(--mk-s4); }
.mk-auth__top img { height: 34px; width: auto; }
.mk-auth__top a.mk-link { font-size: var(--mk-fs-sm); color: var(--mk-muted) !important; font-weight: 500; }
.mk-auth__form-wrap { width: 100%; max-width: 420px; margin: auto; padding: var(--mk-s10) 0; }
.mk-auth h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 800; }
.mk-auth__sub { color: var(--mk-muted); margin-top: var(--mk-s2) !important; }
.mk-auth__legal { margin-top: auto; font-size: var(--mk-fs-xs); color: var(--mk-muted); display: flex; flex-wrap: wrap; gap: var(--mk-s2) var(--mk-s4); }
.mk-auth__legal a { color: var(--mk-muted) !important; text-decoration: none; }
.mk-auth__legal a:hover { color: var(--mk-ink) !important; }

.mk-auth__aside { display: none; position: relative; overflow: hidden; background: var(--mk-ink); isolation: isolate; }
.mk-auth__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mk-auth__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,.88) 100%); }
.mk-auth__aside-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--mk-s12); color: #fff; }
.mk-auth__aside-body h2 { color: #fff !important; font-size: var(--mk-fs-xl); font-weight: 700; max-width: 440px; }
.mk-auth__aside-body .mk-list li { color: rgba(255,255,255,.9); }
.mk-auth__aside-body .mk-list i { color: var(--mk-brand-200); }
@media (min-width: 1024px) {
  .mk-auth { grid-template-columns: minmax(480px, 1fr) 1fr; }
  .mk-auth__main { padding: var(--mk-s8) var(--mk-s12) var(--mk-s8); }
  .mk-auth__aside { display: block; }
}

/* Forms */
.mk-form { display: grid; gap: var(--mk-s5); margin-top: var(--mk-s8); }
.mk-field { display: grid; gap: 6px; }
.mk-field__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--mk-s3); }
.mk-label { font-size: var(--mk-fs-sm); font-weight: 600; color: var(--mk-ink); }
.mk-label small { font-weight: 400; color: var(--mk-muted); }
.mk-input {
  width: 100%; height: 48px; padding: 0 var(--mk-s4);
  border: 1px solid var(--mk-line-strong); border-radius: var(--mk-r-md); background: #fff;
  font: 400 var(--mk-fs-base)/1.2 var(--mk-font-body); color: var(--mk-ink);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.mk-input::placeholder { color: #94a3b8; }
.mk-input:hover { border-color: #94a3b8; }
.mk-input:focus { outline: none; border-color: var(--mk-brand-500); box-shadow: 0 0 0 4px rgba(156, 68, 162, .15); }
.mk-input[aria-invalid="true"], .mk-was-validated .mk-input:invalid { border-color: var(--mk-danger); }
.mk-input-group { position: relative; display: flex; }
.mk-input-group__prefix {
  display: inline-flex; align-items: center; padding: 0 var(--mk-s3); height: 48px;
  border: 1px solid var(--mk-line-strong); border-right: 0; border-radius: var(--mk-r-md) 0 0 var(--mk-r-md);
  background: var(--mk-surface-2); color: var(--mk-text); font-weight: 600; font-size: var(--mk-fs-sm);
}
.mk-input-group__prefix + .mk-input { border-radius: 0 var(--mk-r-md) var(--mk-r-md) 0; }
.mk-input-group .mk-input--pw { padding-right: 52px; }
.mk-pw-toggle {
  position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: transparent;
  color: var(--mk-muted); border-radius: var(--mk-r-sm); cursor: pointer; display: grid; place-items: center;
}
.mk-pw-toggle:hover { color: var(--mk-ink); background: var(--mk-surface-3); }
.mk-hint { font-size: var(--mk-fs-xs); color: var(--mk-muted); }
.mk-error { font-size: var(--mk-fs-sm); color: var(--mk-danger); }
.mk-check { display: inline-flex; align-items: center; gap: var(--mk-s2); font-size: var(--mk-fs-sm); color: var(--mk-text); cursor: pointer; }
.mk-check input { width: 18px; height: 18px; accent-color: var(--mk-brand-600); margin: 0; }
.mk-form__row { display: flex; align-items: center; justify-content: space-between; gap: var(--mk-s3); flex-wrap: wrap; }
.mk-form__small { font-size: var(--mk-fs-sm); }
.mk-form__alt { margin-top: var(--mk-s6) !important; text-align: center; color: var(--mk-muted); font-size: var(--mk-fs-sm); }
.mk-fineprint { font-size: var(--mk-fs-xs); color: var(--mk-muted); text-align: center; }
.mk-fineprint a { color: var(--mk-text) !important; }

.mk-alert {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--mk-s3); align-items: start;
  padding: var(--mk-s3) var(--mk-s4); border-radius: var(--mk-r-md); font-size: var(--mk-fs-sm);
  margin-top: var(--mk-s6); border: 1px solid;
}
.mk-alert i { margin-top: 3px; }
.mk-alert ul { margin: 0; padding-left: 1.1em; }
.mk-alert--error { background: var(--mk-danger-bg); color: var(--mk-danger); border-color: #fecaca; }
.mk-alert--success { background: var(--mk-success-bg); color: var(--mk-success); border-color: #a7f3d0; }

/* Chatbot widget (frontend/chatbot-widget) re-toned to the brand palette */
.fastap-chatbot {
  --gradient-purple: linear-gradient(135deg, var(--mk-brand-600) 0%, var(--mk-brand-700) 100%);
  --purple-500: var(--mk-brand-600);
  --purple-400: var(--mk-brand-500);
  --font-primary: var(--mk-font-body);
  --font-heading: var(--mk-font-display);
}

/* ---------- Motion ---------- */
.mk-reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--mk-ease), transform .6s var(--mk-ease); }
.mk-reveal.is-visible { opacity: 1; transform: none; }
.no-js .mk-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mk-reveal { opacity: 1; transform: none; transition: none; }
  .mk-page *, .mk-header *, .mk-footer * { transition: none !important; animation: none !important; }
}

/* Never let a stray wide element scroll the whole page sideways on phones. */
html, body { overflow-x: clip; }
