/*
 * DIBIZ marketing pages (home, pricing, how it works).
 * Loaded only by layouts/marketing. Direction-agnostic: uses logical properties,
 * so Hebrew/Arabic (dir=rtl) need no separate stylesheet.
 */


:root {
  --mk-ground: #f4f7fc;
  --mk-ground-2: #ffffff;
  --mk-raised: #ffffff;
  --mk-raised-2: #eaf0fa;
  --mk-line: rgba(10, 19, 36, 0.09);
  --mk-line-strong: rgba(10, 19, 36, 0.18);
  --mk-text: #0a1324;
  --mk-text-2: #3b4964;
  --mk-text-3: #5b6a86;
  --mk-blue: #1f6fe0;
  --mk-blue-hover: #1857b8;
  --mk-blue-soft: rgba(31, 111, 224, 0.12);
  --mk-navy: #0a1324;
  --mk-gold: #ffc23d;
  --mk-gold-hover: #ffd36e;
  --mk-gold-ink: #1b1505;
  --mk-radius: 14px;
  --mk-radius-lg: 22px;
  --mk-wrap: 1200px;
  --mk-gutter: clamp(16px, 4vw, 40px);
  --mk-header-h: 76px;
  --mk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mk-font: "Rubik", "Segoe UI", "Arial Hebrew", system-ui, sans-serif;
  --mk-shadow: 0 28px 56px -28px rgba(15, 35, 80, 0.28), 0 6px 16px -8px rgba(15, 35, 80, 0.1);
  color-scheme: light;
}

/* Dark surfaces: the header, the photo heads, the examples panel, the featured plan,
   the closing panel and the footer. They re-declare the tokens, so components adapt. */
.mk-header, .mk-hero, .mk-page-head-photo, .mk-examples, .mk-plan-card.is-featured, .mk-tile,
.mk-close, .mk-footer {
  --mk-ground: #0a1324;
  --mk-ground-2: #0e1a30;
  --mk-raised: #111d33;
  --mk-raised-2: #182640;
  --mk-line: rgba(120, 160, 230, 0.14);
  --mk-line-strong: rgba(120, 160, 230, 0.26);
  --mk-text: #eef3fc;
  --mk-text-2: #b2c1da;
  --mk-text-3: #8fa0bd;
  --mk-blue: #5cb2ff;
  --mk-blue-hover: #8fcaff;
  --mk-blue-soft: rgba(92, 178, 255, 0.14);
  --mk-shadow: 0 24px 48px -16px rgba(2, 6, 16, 0.55), 0 8px 16px -8px rgba(2, 6, 16, 0.4);
  color: var(--mk-text);
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mk-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.mk {
  margin: 0;
  background: var(--mk-ground);
  color: var(--mk-text);
  font-family: var(--mk-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.mk ::selection { background: var(--mk-blue); color: var(--mk-ground); }
.mk :focus { outline: none; }
.mk :focus-visible { outline: 2px solid var(--mk-blue); outline-offset: 3px; border-radius: 6px; }
/* Base resets use :where() so they carry zero specificity and never override component spacing. */
:where(.mk) a { color: var(--mk-blue); text-decoration: none; transition: color .2s; }
:where(.mk) a:hover { color: var(--mk-blue-hover); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:where(.mk) :is(h1, h2, h3, h4) { font-family: var(--mk-font); color: var(--mk-text); margin: 0; text-wrap: balance; }
:where(.mk) p { margin: 0; }
:where(.mk) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.mk) img { max-width: 100%; }
:where(.mk) button { font-family: inherit; }
.mk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mk { scrollbar-color: var(--mk-raised-2) var(--mk-ground); }

.mk-wrap { max-width: var(--mk-wrap); margin-inline: auto; padding-inline: var(--mk-gutter); }
.mk-hl { color: var(--mk-blue); }
.mk-flip-rtl { transition: transform .25s var(--mk-ease); }
[dir="rtl"] .mk-flip-rtl { transform: scaleX(-1); }

/* ---------- Wordmark: unchanged from the original site ---------- */
.mk-logo {
  font-family: "Righteous", "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 54px;
  text-transform: uppercase;
  color: #fff !important;
  display: inline-block;
  text-decoration: none !important;
  direction: ltr;
}
.mk-logo-sm { font-size: 30px; line-height: 1; }

/* ---------- Buttons ---------- */
.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--mk-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--mk-ease), box-shadow .2s;
}
.mk-btn:active { transform: translateY(1px); }
.mk-btn-gold { background: var(--mk-gold); color: var(--mk-gold-ink) !important; box-shadow: 0 10px 24px -12px rgba(255, 194, 61, 0.7); }
.mk-btn-gold:hover { background: var(--mk-gold-hover); color: var(--mk-gold-ink) !important; box-shadow: 0 14px 28px -12px rgba(255, 194, 61, 0.8); }
.mk-btn-ghost { color: var(--mk-text) !important; border-color: var(--mk-line-strong); background: transparent; }
.mk-btn-ghost:hover { border-color: var(--mk-text-2); background: var(--mk-blue-soft); }
.mk-btn-outline { color: var(--mk-text) !important; border-color: var(--mk-line-strong); background: var(--mk-raised-2); }
.mk-btn-outline:hover { border-color: var(--mk-blue); color: var(--mk-text) !important; }
.mk-btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.mk-btn-block { width: 100%; }

/* ---------- Seasonal sale bar (Black Friday), above the header ----------
   Rendered only while BlackFriday.show_banner? is true. It sits in normal flow and scrolls away;
   the sticky header then takes the top of the viewport as usual. */
.mk-sale-bar {
  position: relative; z-index: 51;
  display: block;
  background: var(--mk-gold);
  color: var(--mk-gold-ink) !important;
  text-decoration: none !important;
  transition: background-color .2s;
}
.mk-sale-bar:hover { background: var(--mk-gold-hover); }
.mk-sale-bar-row {
  min-height: 48px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 16px;
  padding-block: 8px;
  font-size: 16px; line-height: 1.3; text-align: center;
}
.mk-sale-tag {
  padding: 4px 12px; border-radius: 999px;
  background: var(--mk-navy); color: var(--mk-gold);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.mk-sale-text strong { font-weight: 700; }
.mk-sale-until { opacity: 0.75; }
.mk-sale-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mk-sale-cta .mk-icon { transition: translate .25s var(--mk-ease); }
.mk-sale-bar:hover .mk-sale-cta .mk-icon { translate: 3px 0; }
[dir="rtl"] .mk-sale-bar:hover .mk-sale-cta .mk-icon { translate: -3px 0; }
@media (max-width: 620px) {
  .mk-sale-bar-row { font-size: 14px; gap: 4px 10px; }
  .mk-sale-tag { font-size: 11px; padding: 3px 9px; }
  .mk-sale-until { display: none; }
}

/* ---------- Header ---------- */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--mk-header-h);
  background: rgba(10, 19, 36, 0.55);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.mk-header.is-scrolled { background: rgba(10, 19, 36, 0.88); border-bottom-color: var(--mk-line); }
.mk-header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.mk-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.mk-nav-links { display: flex; align-items: center; gap: 4px; }
.mk-nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--mk-text-2);
  font-size: 15px;
  font-weight: 500;
}
.mk-nav-links a:hover, .mk-nav-links a.is-current { color: var(--mk-text); text-decoration: none; background: rgba(255, 255, 255, 0.05); }
.mk-nav-links a.is-current { box-shadow: inset 0 -2px 0 var(--mk-blue); border-radius: 8px 8px 0 0; background: none; }

.mk-lang { position: relative; }
.mk-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 10px;
  background: none; border: 0; border-radius: 8px;
  color: var(--mk-text-2); font-size: 15px; font-weight: 500; cursor: pointer;
}
.mk-lang-btn:hover, .mk-lang-btn[aria-expanded="true"] { color: var(--mk-text); background: rgba(255, 255, 255, 0.05); }
.mk-lang-btn[aria-expanded="true"] .mk-lang-caret { transform: rotate(180deg); }
.mk-lang-caret { transition: transform .25s var(--mk-ease); }
.mk-lang-list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 190px; padding: 6px;
  background: var(--mk-raised); border: 1px solid var(--mk-line-strong); border-radius: var(--mk-radius);
  box-shadow: var(--mk-shadow);
  animation: mk-pop .22s var(--mk-ease);
}
.mk-lang-list[hidden] { display: none; }
.mk-lang-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 8px;
  color: var(--mk-text-2); font-size: 15px;
}
.mk-lang-list a:hover { background: rgba(255, 255, 255, 0.06); color: var(--mk-text); text-decoration: none; }
.mk-lang-list a.is-active { color: var(--mk-text); font-weight: 500; }
.mk-lang-list a.is-active .mk-icon { color: var(--mk-blue); }
@keyframes mk-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

.mk-header-cta { flex: none; }
/* Never let a label wrap to two lines in the bar ("¿Cómo funciona?" did); tighten spacing instead on mid widths. */
.mk-nav-links a, .mk-lang-btn, .mk-login, .mk-header-cta { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) {
  .mk-header-row { gap: 18px; }
  .mk-nav { gap: 10px; }
  .mk-nav-links { gap: 0; }
  .mk-nav-links a { padding-inline: 9px; }
  .mk-lang-btn { padding-inline: 8px; }
}
.mk-menu-btn {
  display: none;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--mk-line-strong); border-radius: 12px;
  color: var(--mk-text); cursor: pointer;
}
.mk-menu-close { display: none; }
.mk-menu-btn[aria-expanded="true"] .mk-menu-open { display: none; }
.mk-menu-btn[aria-expanded="true"] .mk-menu-close { display: block; }

@media (max-width: 1080px) {
  :root { --mk-header-h: 64px; }
  .mk-header .mk-logo { font-size: 40px; line-height: 40px; }
  .mk-header-row { gap: 12px; }
  .mk-header-cta { margin-inline-start: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .mk-menu-btn { display: inline-flex; }
  .mk-nav {
    position: fixed;
    inset: var(--mk-header-h) 0 auto 0;
    max-height: calc(100dvh - var(--mk-header-h));
    overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 8px;
    margin: 0;
    padding: 12px var(--mk-gutter) 24px;
    background: var(--mk-ground-2);
    border-bottom: 1px solid var(--mk-line);
    box-shadow: var(--mk-shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--mk-ease), transform .25s var(--mk-ease), visibility 0s .25s;
  }
  .mk-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mk-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .mk-nav-links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--mk-line); }
  .mk-nav-links a.is-current { box-shadow: none; color: var(--mk-blue); }
  .mk-lang-btn { height: 52px; padding: 0 4px; font-size: 17px; }
  .mk-lang-list { position: static; box-shadow: none; margin-bottom: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-lang-list[hidden] { display: none; }
  .mk-login { min-height: 50px; font-size: 16px; }
}
@media (max-width: 380px) {
  .mk-header .mk-logo { font-size: 34px; }
  .mk-header-cta { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.mk-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--mk-header-h) * -1);
  padding-top: var(--mk-header-h);
  min-height: min(80vh, 740px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.mk-hero-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 60% 30%;
  animation: mk-settle 1.6s var(--mk-ease) both;
}
/* Zoomed out (desktop): the collage is a tight close-up, so instead of covering the hero it sits at 84% of the
   hero height on the photo side and fades into the navy at top and bottom. The text side is dark anyway. */
@media (min-width: 761px) {
  .mk-hero { background: var(--mk-navy); }
  .mk-hero .mk-hero-photo {
    inset: auto; top: calc(50% + var(--mk-header-h) / 2); inset-inline-end: 0;
    width: auto; height: 84%; max-width: 100%;
    object-position: 100% 50%;
    translate: 0 -50%;
    --fade-side: to left;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(var(--fade-side), #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(var(--fade-side), #000 55%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
  }
  [dir="rtl"] .mk-hero .mk-hero-photo { object-position: 0 50%; --fade-side: to right; }
}
@keyframes mk-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.mk-hero-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 19, 36, 0.96) 0%, rgba(10, 19, 36, 0.9) 34%, rgba(10, 19, 36, 0.45) 62%, rgba(10, 19, 36, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 19, 36, 0.5) 0%, rgba(10, 19, 36, 0) 22%, rgba(10, 19, 36, 0) 70%, var(--mk-ground) 100%);
}
[dir="rtl"] .mk-hero-wash {
  background:
    linear-gradient(270deg, rgba(10, 19, 36, 0.96) 0%, rgba(10, 19, 36, 0.9) 34%, rgba(10, 19, 36, 0.45) 62%, rgba(10, 19, 36, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 19, 36, 0.5) 0%, rgba(10, 19, 36, 0) 22%, rgba(10, 19, 36, 0) 70%, var(--mk-ground) 100%);
}
.mk-hero-inner { width: 100%; padding-block: clamp(48px, 9vh, 96px); }
.mk-hero-copy { max-width: 700px; }
.mk-hero-title {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
:lang(he) .mk-hero-title, :lang(ar) .mk-hero-title { font-size: clamp(38px, 4.3vw, 62px); letter-spacing: -0.01em; line-height: 1.1; }
:lang(he) .mk-hero-copy, :lang(ar) .mk-hero-copy { max-width: 660px; }
.mk-hero-lede {
  margin-top: 28px;
  max-width: 30em;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--mk-text);
}
.mk-ticks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  max-width: 560px;
}
.mk-ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--mk-text-2); font-size: 16px; line-height: 1.4; }
.mk-ticks .mk-icon { flex: none; margin-top: 1px; color: var(--mk-blue); }
.mk-hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.mk-play {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--mk-text) !important; font-weight: 500; font-size: 16px;
  text-decoration: none !important;
}
.mk-play-dot {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color .25s, border-color .25s, transform .3s var(--mk-ease);
}
.mk-play-dot .mk-icon { margin-inline-start: 2px; }
[dir="rtl"] .mk-play-dot .mk-icon { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 2px; }
.mk-play:hover .mk-play-dot { background: var(--mk-text); border-color: var(--mk-text); color: var(--mk-ground); transform: scale(1.06); }
.mk-hero-login { display: none; margin-top: 18px; color: var(--mk-text-2); font-size: 16px; }


/* entrance: content is visible by default, motion only refines it */
@media (prefers-reduced-motion: no-preference) {
  .mk-hero-copy > * { animation: mk-rise .9s var(--mk-ease) both; }
  .mk-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .mk-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .mk-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .mk-hero-copy > :nth-child(5) { animation-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) { .mk-hero-photo { animation: none; } }
@keyframes mk-rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 760px) {
  .mk-hero { min-height: 0; align-items: flex-end; }
  .mk-hero-photo { height: 58%; object-position: 50% 0; }
  .mk-hero-wash, [dir="rtl"] .mk-hero-wash {
    background: linear-gradient(180deg, rgba(10, 19, 36, 0.35) 0%, rgba(10, 19, 36, 0.2) 22%, rgba(10, 19, 36, 0.85) 46%, var(--mk-ground) 58%);
  }
  .mk-hero-inner { padding-top: 36vh; padding-bottom: 40px; }
  .mk-ticks { grid-template-columns: minmax(0, 1fr); }
  .mk-hero-actions .mk-btn { width: 100%; }
  .mk-hero-login { display: block; }
}

/* ---------- Social proof: stats + client logos ---------- */
.mk-proof { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.mk-proof-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px 64px;
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--mk-line);
}
.mk-proof-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 22ch; }
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.mk-stat { display: grid; grid-template-rows: auto auto; align-content: start; row-gap: 8px; padding-inline: 24px; border-inline-start: 1px solid var(--mk-line); }
.mk-stat dd { grid-row: 1; }
.mk-stat dt { grid-row: 2; }
.mk-stat dd {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mk-text);
  font-variant-numeric: tabular-nums;
}
.mk-stat dt { font-size: 14px; font-weight: 500; color: var(--mk-text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.mk-logos { display: flex; align-items: center; gap: 24px 48px; padding-top: clamp(28px, 4vw, 40px); }
.mk-logos-title { flex: none; max-width: 16ch; color: var(--mk-text-3); font-size: 15px; line-height: 1.35; }
.mk-logos-row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.mk-logo-img { display: block; height: 30px; width: auto; max-width: 130px; object-fit: contain; transition: filter .25s, opacity .25s; }
.mk-logos-row .mk-logo-toyota .mk-logo-img { height: 22px; }
.mk-logos-row .mk-logo-lancome .mk-logo-img { height: 34px; }
/* Single-color marks: flatten to black, then paint #4b5f84 (hover #1d3b6e) */
.mk-logo-solid { filter: brightness(0) saturate(100%) invert(23%) sepia(73%) saturate(3197%) hue-rotate(216deg) brightness(54%) contrast(43%); }
.mk-logos-row li:hover .mk-logo-solid { filter: brightness(0) saturate(100%) invert(67%) sepia(93%) saturate(7492%) hue-rotate(213deg) brightness(42%) contrast(81%); }
/* TD Bank and Ford: white type inside a solid shape, so shift the whole mark to blue instead */
.mk-logo-tint { filter: grayscale(1) sepia(1) hue-rotate(180deg) saturate(2.2) brightness(0.72); opacity: 0.9; }
.mk-logos-row li:hover .mk-logo-tint { opacity: 1; filter: grayscale(1) sepia(1) hue-rotate(180deg) saturate(2.6) brightness(0.55); }
@media (max-width: 900px) {
  .mk-proof-head { grid-template-columns: minmax(0, 1fr); }
  .mk-stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .mk-logos { flex-direction: column; align-items: flex-start; }
  .mk-logos-title { max-width: none; }
  .mk-logos-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; justify-items: start; }
  .mk-logos-row li { min-width: 0; }
  .mk-logo-img { height: 24px; max-width: 100%; }
  .mk-logos-row .mk-logo-toyota .mk-logo-img { height: 18px; }
  .mk-logos-row .mk-logo-lancome .mk-logo-img { height: 28px; }
}
@media (max-width: 520px) {
  .mk-stat { padding-inline: 12px; }
  .mk-stat dt { font-size: 12px; letter-spacing: 0.03em; }
}

/* ---------- Shared type ---------- */
.mk-h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.mk-h2-xl { font-size: clamp(36px, 4.6vw, 62px); }
.mk-h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.mk-body-lg { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--mk-text-2); max-width: 46ch; }
:lang(he) .mk-h2, :lang(ar) .mk-h2, :lang(he) .mk-page-title, :lang(ar) .mk-page-title { letter-spacing: -0.005em; line-height: 1.15; }

/* ---------- Examples: real cards in a phone ---------- */
.mk-examples {
  position: relative;
  padding-block: clamp(64px, 9vw, 128px);
  background: var(--mk-ground-2);
  border-block: 1px solid var(--mk-line);
  overflow: hidden;
}
.mk-examples-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.mk-examples-copy .mk-h2 { max-width: 16ch; }
.mk-people { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.mk-person {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 14px;
  text-align: start;
  background: transparent;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  color: var(--mk-text);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, transform .25s var(--mk-ease);
}
.mk-people > li { display: flex; }
.mk-people > li > .mk-person { height: 100%; align-content: center; }
.mk-person:hover { background: rgba(255, 255, 255, 0.03); border-color: var(--mk-line-strong); }
.mk-person.is-active { background: var(--mk-raised-2); border-color: rgba(92, 178, 255, 0.6); }
.mk-person-photo {
  grid-row: 1 / span 2;
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
  background: var(--mk-raised-2);
  box-shadow: 0 0 0 2px var(--mk-ground-2), 0 0 0 3px var(--mk-line-strong);
  transition: box-shadow .25s;
}
.mk-person.is-active .mk-person-photo { box-shadow: 0 0 0 2px var(--mk-raised-2), 0 0 0 4px var(--mk-blue); }
.mk-person-text { display: flex; flex-direction: column; min-width: 0; }
.mk-person-name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.mk-person-role { font-size: 14px; line-height: 1.4; color: var(--mk-text-3); }
.mk-plan {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: 0.02em;
}
.mk-plan-premium { color: #a9d6ff; background: var(--mk-blue-soft); }
.mk-plan-free { color: var(--mk-text-2); background: rgba(255, 255, 255, 0.07); }
.mk-person::after {
  content: "";
  position: absolute; inset-inline: 14px; bottom: -1px; height: 2px;
  border-radius: 2px;
  background: var(--mk-blue);
  transform: scaleX(0); transform-origin: left;
}
[dir="rtl"] .mk-person::after { transform-origin: right; }
.mk-people.is-auto .mk-person.is-active::after { animation: mk-progress var(--mk-cycle, 5s) linear both; }
@keyframes mk-progress { to { transform: scaleX(1); } }
.mk-examples-cta { margin-top: 36px; }

.mk-phone-stage { position: relative; display: flex; justify-content: center; }
.mk-phone-stage::before {
  content: "";
  position: absolute; inset: 8% -10%;
  background: radial-gradient(closest-side, rgba(92, 178, 255, 0.18), transparent);
  pointer-events: none;
}
/* iPhone-style device: every size derives from --pw so the device scales as one object.
   Real iPhone screen ratio (1179 x 2556), titanium edge, black bezel, Dynamic Island,
   side keys, iOS status bar and Safari's bottom address bar around the real card screenshot. */
.mk-phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * 0.036);
  border-radius: calc(var(--pw) * 0.175);
  background: #050608;
  box-shadow:
    0 0 0 calc(var(--pw) * 0.011) #6d7891,
    0 0 0 calc(var(--pw) * 0.016) #2a3346,
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -24px rgba(2, 8, 30, 0.75),
    0 18px 32px -16px rgba(2, 8, 30, 0.6);
  transform: rotate(-2.5deg);
}
[dir="rtl"] .mk-phone-stage .mk-phone { transform: rotate(2.5deg); }
.mk-phone-key {
  position: absolute;
  width: calc(var(--pw) * 0.014);
  border-radius: 2px;
  background: linear-gradient(90deg, #3a4458, #7d89a3 50%, #3a4458);
}
.mk-phone-key-action, .mk-phone-key-vol-up, .mk-phone-key-vol-down { left: calc(var(--pw) * -0.028); }
.mk-phone-key-power { right: calc(var(--pw) * -0.028); top: 27%; height: 15%; }
.mk-phone-key-action { top: 17%; height: 5.5%; }
.mk-phone-key-vol-up { top: 25%; height: 9.5%; }
.mk-phone-key-vol-down { top: 36.5%; height: 9.5%; }
.mk-phone-screen {
  position: relative;
  aspect-ratio: 1179 / 2556;
  display: flex; flex-direction: column;
  border-radius: calc(var(--pw) * 0.14);
  overflow: hidden;
  background: #1c1c1e;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: #fff;
}
.mk-phone-status {
  position: relative; flex: none;
  height: calc(var(--pw) * 0.165);
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--pw) * 0.012) calc(var(--pw) * 0.085) 0;
}
.mk-phone-time { font-size: calc(var(--pw) * 0.05); font-weight: 600; letter-spacing: -0.01em; }
.mk-phone-island {
  position: absolute; left: 50%; top: calc(var(--pw) * 0.036);
  width: calc(var(--pw) * 0.31); height: calc(var(--pw) * 0.092);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.mk-phone-indicators { width: calc(var(--pw) * 0.22); height: auto; fill: currentColor; }
.mk-phone-view { position: relative; flex: 1; overflow: hidden; background: #fff; }
.mk-phone-shot {
  /* The screenshots carry an old status bar in their top 30 of 462px (264 wide). A negative
     top margin in % is measured against the width, so this hides exactly that strip. */
  position: absolute; inset: 0 0 auto 0;
  width: 100%; height: auto; max-width: none;
  margin-top: -11.4%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s var(--mk-ease), transform .7s var(--mk-ease);
}
.mk-phone-shot.is-active { opacity: 1; transform: none; }
.mk-phone-safari {
  flex: none;
  display: flex; flex-direction: column; align-items: center;
  gap: calc(var(--pw) * 0.04);
  padding: calc(var(--pw) * 0.03) calc(var(--pw) * 0.05) calc(var(--pw) * 0.024);
  background: rgba(28, 28, 30, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mk-phone-url {
  width: 100%;
  height: calc(var(--pw) * 0.12);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: calc(var(--pw) * 0.04);
  background: #2c2c2e;
  font-size: calc(var(--pw) * 0.05); font-weight: 500;
}
.mk-phone-url svg { fill: currentColor; opacity: 0.8; }
.mk-phone-toolbar { width: 92%; height: auto; fill: none; stroke: #4c9dff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-phone-home { width: 36%; height: calc(var(--pw) * 0.016); border-radius: 999px; background: #fff; }

@media (max-width: 980px) {
  .mk-examples-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-examples-grid { gap: 32px; }
  .mk-examples-copy { display: contents; }
  .mk-examples-copy .mk-h2 { order: 1; }
  .mk-phone-stage { order: 2; }
  .mk-people { order: 3; margin-top: 0; }
  .mk-examples-cta { order: 4; margin-top: 0; justify-self: start; }
  .mk-examples-copy .mk-h2 { max-width: none; }
}
@media (max-width: 620px) {
  .mk-people {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--mk-gutter) * -1);
    padding-inline: var(--mk-gutter);
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .mk-people::-webkit-scrollbar { display: none; }
  .mk-people li { flex: 0 0 82%; scroll-snap-align: center; }
  .mk-phone { --pw: 252px; }
  .mk-examples-cta { width: 100%; }
}

/* ---------- Features ---------- */
.mk-features { padding-block: clamp(72px, 10vw, 140px); }
/* Bento of three dark tiles (same tokens as the other dark surfaces, see top of file).
   Art is inline SVG (home/_mk_feature_art) in the brand palette.
   A spotlight follows the pointer (--mx/--my set in marketing.js) and lights the tile and its border. */
.mk-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mk-tile {
  --mx: 50%; --my: 0%; --spot: 0;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(31, 111, 224, 0.28), transparent 70%),
    linear-gradient(180deg, #13223f 0%, #0b1529 100%);
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--mk-line), 0 30px 60px -30px rgba(10, 19, 36, 0.55);
}
/* Spotlight fill */
.mk-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(92, 178, 255, 0.16), transparent 60%);
  opacity: var(--spot); transition: opacity .4s var(--mk-ease);
}
/* Spotlight border: same gradient, masked to a 1px ring */
.mk-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(143, 202, 255, 0.85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--spot); transition: opacity .4s var(--mk-ease);
}
.mk-tile:hover { --spot: 1; }
.mk-tile-copy { position: relative; padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px) 0; }
.mk-tile-copy .mk-h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; }
.mk-tile-copy p { margin-top: 12px; color: var(--mk-text-2); max-width: 44ch; }
/* Art sits flush with the bottom edge; the phones run off it. */
.mk-tile-art { margin-top: auto; padding-top: 12px; }
.mk-fa { display: block; width: 100%; height: auto; overflow: hidden; }
.mk-fa .f-dev { fill: #070e1c; stroke: rgba(143, 202, 255, 0.35); stroke-width: 2; }
.mk-fa .f-dev-notch { fill: #070e1c; }
.mk-fa .f-scr { fill: #f4f7fc; }
.mk-fa .f-paper { fill: #ffffff; }
.mk-fa .f-card { fill: #ffffff; }
.mk-fa .f-navy { fill: #182a4c; stroke: rgba(143, 202, 255, 0.35); stroke-width: 1.5; }
.mk-fa .f-sheet { fill: #e6eefb; }
.mk-fa .f-ink { fill: #0a1324; }
.mk-fa .f-soft { fill: #b8c6dd; }
.mk-fa .f-row { fill: #e3eaf6; }
.mk-fa .f-tile { fill: #d3e2f8; }
.mk-fa .f-blue { fill: #5cb2ff; }
.mk-fa .f-gold { fill: var(--mk-gold); }
.mk-fa .f-ring { stroke: #f4f7fc; stroke-width: 4; }
.mk-fa .f-check, .mk-fa .f-share, .mk-fa .f-up { fill: none; stroke: #0a1324; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mk-fa .f-up { stroke: var(--mk-gold); stroke-width: 2.5; }
.mk-fa .f-link { fill: none; stroke: #1f6fe0; stroke-width: 2; stroke-linecap: round; }
.mk-fa .f-mail { fill: none; stroke: #1f6fe0; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mk-fa .f-wave { fill: none; stroke: rgba(92, 178, 255, 0.6); stroke-width: 3; stroke-linecap: round; }
.mk-fa .f-spark { fill: none; stroke: var(--mk-gold); stroke-width: 3; stroke-linecap: round; }
.mk-fa .f-trail { fill: none; stroke: var(--mk-gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 10; opacity: .75; }
.mk-fa .f-float { animation: mk-drift 6s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes mk-drift { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
@keyframes mk-dash { to { stroke-dashoffset: -48; } }
.mk-tile:hover .f-trail { animation: mk-dash 1.2s linear infinite; opacity: 1; }

.mk-tile-lead {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center;
  background:
    radial-gradient(60% 90% at 85% 60%, rgba(31, 111, 224, 0.35), transparent 70%),
    linear-gradient(135deg, #162a4d 0%, #0a1324 70%);
}
[dir="rtl"] .mk-tile-lead { background: radial-gradient(60% 90% at 15% 60%, rgba(31, 111, 224, 0.35), transparent 70%), linear-gradient(225deg, #162a4d 0%, #0a1324 70%); }
.mk-tile-lead .mk-tile-copy { padding: clamp(32px, 5vw, 64px); padding-inline-end: 0; }
.mk-tile-lead .mk-h2 { max-width: 13ch; }
.mk-tile-lead .mk-body-lg { margin-top: 24px; }
.mk-tile-lead .mk-tile-art { margin-top: 0; padding-top: 32px; align-self: end; }

@media (prefers-reduced-motion: reduce) {
  .mk-tile::before, .mk-tile::after { transition: none; }
  .mk-fa .f-float, .mk-tile:hover .f-trail { animation: none; }
}
@media (max-width: 900px) {
  .mk-tile-lead { grid-template-columns: minmax(0, 1fr); }
  .mk-tile-lead .mk-tile-copy { padding-bottom: 0; padding-inline-end: clamp(32px, 5vw, 64px); }
}
@media (max-width: 680px) {
  .mk-bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mk-tile { border-radius: 24px; }
}

/* ---------- Steps (home) ---------- */
.mk-steps { padding-block: clamp(64px, 9vw, 120px); }
.mk-steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.mk-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; }
.mk-link-arrow:hover .mk-icon { transform: translateX(4px); }
[dir="rtl"] .mk-link-arrow:hover .mk-icon { transform: scaleX(-1) translateX(4px); }
.mk-track { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.mk-track::before {
  content: "";
  position: absolute; top: 64px; inset-inline: 64px calc(33.333% - 64px);
  height: 0;
  border-top: 1px dashed var(--mk-line-strong);
}
.mk-track-step { position: relative; }
.mk-track-art { position: relative; width: 128px; height: 128px; }
.mk-track-art svg { width: 128px; height: 128px; display: block; }
.mk-track-num {
  position: absolute; bottom: 2px; inset-inline-end: 2px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--mk-navy); color: #fff;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 0 0 4px var(--mk-ground);
}
.mk-track-step .mk-h3 { margin-top: 24px; }
.mk-track-step p { margin-top: 8px; color: var(--mk-text-2); max-width: 30ch; }
@media (max-width: 820px) {
  .mk-track { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mk-track::before { top: 64px; bottom: 64px; inset-inline: 64px auto; height: auto; width: 0; border-top: 0; border-inline-start: 1px dashed var(--mk-line-strong); }
  .mk-track-step { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .mk-track-art { grid-row: 1 / span 2; }
  .mk-track-step .mk-h3 { margin-top: 0; align-self: end; }
  .mk-track-step p { align-self: start; }
}
@media (max-width: 480px) {
  .mk-track-step { grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; }
  .mk-track-art, .mk-track-art svg { width: 88px; height: 88px; }
  .mk-track::before { top: 44px; bottom: 44px; inset-inline-start: 44px; }
  .mk-track-num { width: 30px; height: 30px; font-size: 14px; }
}

/* ---------- Contact ---------- */
.mk-contact { padding-block: clamp(72px, 10vw, 128px); }
.mk-contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 80px; align-items: start; }
.mk-mail { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.mk-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--mk-raised);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
}
.mk-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mk-field-full { grid-column: 1 / -1; }
.mk-field label { margin: 0; font-size: 14px; font-weight: 500; color: var(--mk-text-2); }
.mk-form input, .mk-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit; font-size: 16px; line-height: 1.4;
  color: var(--mk-text);
  caret-color: var(--mk-blue);
  background: var(--mk-ground);
  border: 1px solid var(--mk-line-strong);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.mk-form textarea { resize: vertical; min-height: 120px; }
.mk-form input::placeholder, .mk-form textarea::placeholder { color: var(--mk-text-3); opacity: 1; }
.mk-form input:focus, .mk-form textarea:focus { outline: none; border-color: var(--mk-blue); box-shadow: 0 0 0 3px var(--mk-blue-soft); }
.mk-form input:user-invalid, .mk-form textarea:user-invalid { border-color: #d64545; }
.mk-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mk-form-foot input[type="submit"] { width: auto; padding: 14px 34px; background: var(--mk-gold); border-color: transparent; color: var(--mk-gold-ink); }
.mk-form-foot input[type="submit"]:hover { background: var(--mk-gold-hover); }
@media (max-width: 860px) { .mk-contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .mk-form { grid-template-columns: minmax(0, 1fr); }
  .mk-form-foot input[type="submit"] { width: 100%; }
}

/* ---------- Inner page heads (pricing, how) ---------- */
.mk-page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); text-align: start; }
.mk-page-title { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; max-width: 20em; }
.mk-page-lede { margin-top: 18px; max-width: 40em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--mk-text-2); }
.mk-page-head-photo {
  margin-top: calc(var(--mk-header-h) * -1);
  padding-top: calc(var(--mk-header-h) + clamp(72px, 10vw, 136px));
  padding-bottom: clamp(56px, 8vw, 96px);
}
.mk-page-head-photo .mk-hero-photo { animation: none; object-position: 50% 30%; }
.mk-page-head-photo .mk-hero-wash, [dir="rtl"] .mk-page-head-photo .mk-hero-wash {
  background: linear-gradient(180deg, rgba(10, 19, 36, 0.7) 0%, rgba(10, 19, 36, 0.78) 50%, var(--mk-ground) 100%);
}
.mk-page-head-photo .mk-page-lede { color: var(--mk-text); }
.mk-page-head-photo { min-height: clamp(280px, 42vh, 460px); display: flex; align-items: flex-end; }
.mk-page-head-photo > .mk-wrap { width: 100%; }
.mk-page-head-photo .mk-hero-photo { height: 100%; }

/* ---------- Legal pages (terms, privacy) ----------
 * The text partials are old word-processor pastes full of inline fonts, colors and sizes;
 * everything inside .mk-legal is reset to the site type so they read as one clean column.
 */
.mk-legal-section { padding-bottom: clamp(56px, 8vw, 104px); }
.mk-legal { max-width: 78ch; font-size: 17px; line-height: 1.75; color: var(--mk-text-2); overflow-wrap: anywhere; }
.mk-legal * {
  font-family: inherit !important; font-size: inherit !important; line-height: inherit !important;
  color: inherit !important; background: transparent !important; white-space: normal !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
.mk-legal p { margin: 0 0 14px !important; text-align: start; }
.mk-legal h2, .mk-legal h3 {
  font-size: clamp(20px, 2vw, 24px) !important; line-height: 1.3 !important; font-weight: 700;
  letter-spacing: -0.01em; color: var(--mk-text) !important; margin: 44px 0 14px !important;
}
.mk-legal > h2:first-child, .mk-legal > :first-child > h2:first-child { margin-top: 0 !important; }
.mk-legal h2 u, .mk-legal h3 u { text-decoration: none; }
.mk-legal strong, .mk-legal b { font-weight: 600; color: var(--mk-text) !important; }
.mk-legal ol, .mk-legal ul { margin: 0 0 14px !important; padding-inline-start: 1.4em; }
.mk-legal ol { list-style: decimal; }
.mk-legal ul { list-style: disc; }
.mk-legal li { margin-bottom: 8px; padding-inline-start: 4px; }
.mk-legal li > p { margin-bottom: 6px !important; }
.mk-legal li::marker { color: var(--mk-text-3); }
.mk-legal a { color: var(--mk-blue) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mk-legal a:hover { color: var(--mk-blue-hover) !important; }
/* the Hebrew terms embed the English commercial terms, left-to-right */
.mk-legal #biz-terms-wrap { margin-top: 56px !important; padding-top: 40px; border-top: 1px solid var(--mk-line); }

/* ---------- Error pages (404/403/422/500): one dark screen, header floats over it, footer follows ---------- */
/* sale bar + header + error + footer together fill exactly one screen (no scroll); the error section takes the slack */
body.mk-page-error { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body.mk-page-error #mk-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.mk-error {
  flex: 1 0 auto;
  min-height: 0;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--mk-header-h) + clamp(40px, 8vh, 96px));
  padding-bottom: clamp(40px, 8vh, 96px);
}
.mk-error .mk-hero-wash, [dir="rtl"] .mk-error .mk-hero-wash {
  background: linear-gradient(180deg, rgba(10, 19, 36, 0.78) 0%, rgba(10, 19, 36, 0.86) 55%, var(--mk-navy) 100%);
}
.mk-error-inner { display: flex; flex-direction: column; align-items: center; }
.mk-error-code {
  margin: 0 0 8px;
  font-size: clamp(80px, min(18vw, 20vh), 200px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  color: transparent;
  background: linear-gradient(180deg, var(--mk-text) 10%, var(--mk-blue) 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
.mk-error-title { margin: 0 auto; max-width: 18em; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; }
.mk-error-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.mk-error-actions .mk-btn { gap: 10px; }
/* How page: one reading column, so the steps never leave a dead band beside them */

/* ---------- Pricing ---------- */
.mk-plans-section { padding-bottom: clamp(72px, 10vw, 128px); }
.mk-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.mk-plan-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--mk-raised);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
}
.mk-plan-card::before {
  content: "";
  position: absolute; top: -1px; inset-inline: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--mk-plan-accent, var(--mk-line-strong));
}
.mk-plan-my-dibiz { --mk-plan-accent: var(--mk-line-strong); }
.mk-plan-dibiz-biz { --mk-plan-accent: var(--mk-text-3); }
.mk-plan-card.is-featured {
  --mk-plan-accent: var(--mk-blue);
  background: linear-gradient(180deg, #1d2c49, var(--mk-raised) 70%);
  border-color: rgba(92, 178, 255, 0.55);
  box-shadow: var(--mk-shadow);
  transform: translateY(-14px);
}
.mk-plan-top { padding-bottom: 24px; border-bottom: 1px solid var(--mk-line); }
.mk-plan-name { font-size: 24px; font-weight: 600; letter-spacing: 0.01em; direction: ltr; text-align: start; }
[dir="rtl"] .mk-plan-name { text-align: right; }
.mk-plan-price { margin-top: 20px; display: flex; align-items: baseline; gap: 2px; direction: ltr; justify-content: flex-start; }
[dir="rtl"] .mk-plan-price { justify-content: flex-end; }
.mk-plan-cur { font-size: 26px; font-weight: 600; color: var(--mk-text-2); align-self: flex-start; margin-top: 6px; }
.mk-plan-num { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mk-plan-per { margin-inline-start: 6px; font-size: 17px; color: var(--mk-text-3); }
.mk-plan-price-text { direction: inherit; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; min-height: 64px; align-items: flex-end; }
.mk-plan-was { align-self: center; margin-inline-end: 12px; font-size: 22px; font-weight: 500; color: var(--mk-text-3); }
.mk-plan-sale { margin-top: 10px; color: var(--mk-gold); font-size: 14px; font-weight: 600; line-height: 1.4; }
.mk-plan-pitch { margin-top: 12px; color: var(--mk-text-2); font-size: 16px; line-height: 1.45; min-height: 2.9em; }
.mk-plan-body { flex: 1; padding-top: 22px; }
.mk-plan-sub { font-size: 15px; font-weight: 600; color: var(--mk-text); }
.mk-plan-points { margin-top: 14px; display: grid; gap: 12px; }
.mk-plan-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--mk-text-2); }
.mk-plan-points .mk-icon { flex: none; margin-top: 2px; color: var(--mk-blue); }
.mk-plan-points u { text-decoration: none; color: var(--mk-text); font-weight: 600; }
.mk-plan-foot { padding-top: 28px; display: grid; gap: 14px; }
.mk-plan-note { text-align: center; font-size: 14px; color: var(--mk-text-3); line-height: 1.45; }
.mk-plans-proof { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--mk-line); }
@media (max-width: 980px) {
  .mk-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .mk-plan-card.is-featured { transform: none; order: -1; }
  .mk-plan-pitch { min-height: 0; }
  .mk-plan-price-text { min-height: 0; }
}

/* ---------- How it works page ----------
 * Scroll-driven: the dark panel stays in view and swaps the illustration as each
 * step crosses the middle of the screen; the active step is full strength, others rest.
 */
.mk-how { padding-bottom: clamp(48px, 7vw, 96px); }
.mk-how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.mk-how-stage { position: sticky; top: calc(var(--mk-header-h) + 32px); }
.mk-how-panel {
  --mk-text: #eef3fc; --mk-text-3: #8fa0bd; --mk-line: rgba(120, 160, 230, 0.18);
  position: relative;
  overflow: hidden;
  padding: 40px 36px 32px;
  border-radius: 32px;
  color: var(--mk-text);
  background:
    radial-gradient(70% 60% at 50% 38%, rgba(92, 178, 255, 0.24), transparent 70%),
    linear-gradient(160deg, #13284d 0%, #0d1b36 55%, #0a1324 100%);
  box-shadow: var(--mk-shadow);
}
.mk-how-visuals { position: relative; aspect-ratio: 1; max-width: 300px; margin-inline: auto; }
.mk-how-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  filter: blur(6px);
  transition: opacity .6s var(--mk-ease), transform .7s var(--mk-ease), filter .6s var(--mk-ease);
}
.mk-how-visual.is-active { opacity: 1; transform: none; filter: none; }
.mk-how-visual svg { width: 100%; height: auto; }
.mk-how-progress { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-how-progress li { display: grid; gap: 10px; }
.mk-how-progress-bar { position: relative; height: 4px; border-radius: 4px; background: var(--mk-line); overflow: hidden; }
.mk-how-progress-bar::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--mk-ease);
}
[dir="rtl"] .mk-how-progress-bar::after { transform-origin: right; }
.mk-how-progress li.is-done .mk-how-progress-bar::after,
.mk-how-progress li.is-active .mk-how-progress-bar::after { transform: scaleX(1); }
.mk-how-progress-label { font-size: 14px; font-weight: 500; color: var(--mk-text-3); transition: color .3s; }
.mk-how-progress li.is-active .mk-how-progress-label { color: var(--mk-text); }

.mk-how-steps { display: grid; }
.mk-how-step {
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px;
  opacity: 0.38;
  transition: opacity .5s var(--mk-ease);
}
.mk-how-step.is-active { opacity: 1; }
.mk-how-step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 24px; }
.mk-how-num {
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mk-navy); color: #fff;
  font-size: 18px; font-weight: 700;
}
.mk-how-inline-art { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mk-how-visual { transition: opacity .2s linear; transform: none; filter: none; }
}
/* CMS content (from the contents table): h2.title, div.text, h4.subtitle, p, a */
.mk-prose { font-size: 18px; line-height: 1.7; color: var(--mk-text-2); max-width: 64ch; }
.mk-prose h2, .mk-prose .title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--mk-text); margin: 0 0 20px; }
.mk-prose h3, .mk-prose h4, .mk-prose .subtitle { font-size: 19px; font-weight: 600; color: var(--mk-text); margin: 28px 0 6px; line-height: 1.3; }
.mk-prose p { margin: 0 0 14px; }
.mk-prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mk-prose br + br { display: none; }
@media (max-width: 980px) {
  .mk-how-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mk-how-stage { display: none; }
  .mk-how-step, .mk-how-step:first-child { min-height: 0; opacity: 1; padding-block: 40px; border-top: 1px solid var(--mk-line); }
  .mk-how-step:first-child { border-top: 0; padding-top: 8px; }
  .mk-how-inline-art {
    display: flex; justify-content: center;
    margin-bottom: 24px; padding: 20px;
    border-radius: 28px;
    background: linear-gradient(160deg, #13284d 0%, #0a1324 100%);
  }
}

.mk-close { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.mk-close-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.mk-close-title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; }

/* ---------- Footer ---------- */
.mk-footer { padding-block: 40px; border-top: 1px solid var(--mk-line); background: var(--mk-ground); }
.mk-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mk-footer-brand { display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none !important; }
.mk-footer-tag { color: var(--mk-text-3); font-size: 14px; }
.mk-footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.mk-footer-links a { color: var(--mk-text-2); font-size: 15px; }
.mk-footer-links a:hover { color: var(--mk-text); }

/* ---------- Step illustrations (app/views/home/_mk_step_art) ---------- */
.mk-art { --art-bg: #e4eefc; --art-halo: #d3e3fb; --art-dev: #0a1324; --art-scr: #ffffff; --art-acc: #5cb2ff;
  --art-acc-2: #9fd0ff; --art-cover: #cfe4ff; --art-soft: #1d2f52; --art-line: #c7d6ee; --art-row: #edf3fc; }
.mk-how-panel .mk-art, .mk-how-inline-art .mk-art { --art-bg: rgba(92, 178, 255, 0.1); --art-halo: rgba(92, 178, 255, 0.12);
  --art-dev: #22365d; --art-scr: #eef3fc; --art-cover: #bcd9ff; --art-row: #dde8f8; }
.mk-art .a-bg { fill: var(--art-bg); }
.mk-art .a-halo { fill: var(--art-halo); }
.mk-art .a-dev { fill: var(--art-dev); }
.mk-art .a-scr { fill: var(--art-scr); }
.mk-art .a-cover { fill: var(--art-cover); }
.mk-art .a-acc { fill: var(--art-acc); }
.mk-art .a-acc-2 { fill: var(--art-acc-2); }
.mk-art .a-ink-soft { fill: var(--art-soft); }
.mk-art .a-line { fill: var(--art-line); }
.mk-art .a-row, .mk-art .a-tile { fill: var(--art-row); }
.mk-art .a-sheet { fill: var(--art-row); }
.mk-art .a-ring { stroke: var(--art-scr); stroke-width: 4; }
.mk-art .a-stroke { stroke: var(--art-dev); stroke-width: 3; stroke-linejoin: round; }
.mk-art .a-arrow { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.mk-art .a-fold { fill: none; stroke: var(--art-dev); stroke-width: 3; stroke-linecap: round; }
.mk-art .a-trail { fill: none; stroke: var(--art-acc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.mk-art .a-spark { fill: none; stroke: var(--art-acc); stroke-width: 3; stroke-linecap: round; }

/* ---------- Surfaces ----------
 * The light page rises over the photo as a sheet with rounded top corners, and color
 * lives in rounded panels inset from the page edge instead of full-width bands.
 */
.mk-hero + .mk-proof, .mk-page-head-photo + section {
  position: relative;
  z-index: 1;
  margin-top: -40px;
  padding-top: clamp(64px, 7vw, 96px);
  background: var(--mk-ground);
  border-radius: 40px 40px 0 0;
}
.mk-examples, .mk-close {
  max-width: 1320px;
  margin-inline: auto;
  border: 0;
  border-radius: 40px;
  background:
    radial-gradient(55% 75% at 78% 50%, rgba(92, 178, 255, 0.22), transparent 70%),
    linear-gradient(160deg, #13284d 0%, #0d1b36 55%, #0a1324 100%);
  box-shadow: var(--mk-shadow);
}
[dir="rtl"] .mk-examples {
  background:
    radial-gradient(55% 75% at 22% 50%, rgba(92, 178, 255, 0.22), transparent 70%),
    linear-gradient(200deg, #13284d 0%, #0d1b36 55%, #0a1324 100%);
}
.mk-close-section { padding-bottom: clamp(48px, 6vw, 80px); }
/* The banner lives inside .mk-wrap, so its edges line up with the page grid and the footer. */
.mk-close { max-width: none; margin: 0; }
.mk-features { padding-top: clamp(88px, 11vw, 150px); }
.mk-plan-card { box-shadow: var(--mk-shadow); border-color: var(--mk-line); }
.mk-plan-card.is-featured { background: linear-gradient(180deg, #172a4f, #0e1a30 70%); border-color: rgba(92, 178, 255, 0.45); }
.mk-form { box-shadow: var(--mk-shadow); }
.mk-footer { border-top: 0; }
@media (max-width: 1360px) { .mk-examples { margin-inline: var(--mk-gutter); } }
@media (max-width: 760px) {
  .mk-hero + .mk-proof, .mk-page-head-photo + section { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .mk-examples { border-radius: 28px; margin-inline: 12px; }
  .mk-close { border-radius: 28px; }
}

/* ---------- Bootstrap modals (login, thank you, reset password) ---------- */
.mk .modal-backdrop.in { opacity: 0.7; background: #040913; }
.mk .modal-dialog { width: 440px; max-width: calc(100% - 32px); margin: 10vh auto; }
.mk .modal-content {
  background: var(--mk-raised);
  color: var(--mk-text-2);
  border: 1px solid var(--mk-line-strong);
  border-radius: var(--mk-radius-lg);
  box-shadow: var(--mk-shadow);
}
.mk .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 6px; border: 0; }
.mk .modal-header::before, .mk .modal-header::after { display: none; }
.mk .modal-title { font-size: 22px; font-weight: 700; color: var(--mk-text); }
.mk .modal-header .close {
  order: 2; float: none; margin: 0; padding: 0;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 0; color: transparent; opacity: 1; text-shadow: none;
  background: var(--mk-text-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.mk .modal-header .close:hover { background: var(--mk-text); }
.mk .modal-body { padding: 10px 26px 26px; font-size: 16px; }
.mk .modal-content .ttl-block h1 { display: none; }
.mk .modal-content label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--mk-text-2); }
.mk .modal-content input:not([type="checkbox"]):not([type="submit"]) {
  width: 100%;
  margin: 0 0 18px;
  padding: 13px 16px;
  font: inherit; font-size: 16px;
  color: var(--mk-text);
  caret-color: var(--mk-blue);
  background: var(--mk-ground);
  border: 1px solid var(--mk-line-strong);
  border-radius: 12px;
}
.mk .modal-content input:focus { outline: none; border-color: var(--mk-blue); box-shadow: 0 0 0 3px var(--mk-blue-soft); }
.mk .modal-content input::placeholder { color: var(--mk-text-3); }
.mk .modal-content input[type="submit"] {
  width: 100%;
  min-height: 52px;
  margin: 4px 0 14px;
  border: 0; border-radius: 999px;
  background: var(--mk-gold); color: var(--mk-gold-ink);
  font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
}
.mk .modal-content input[type="submit"]:hover { background: var(--mk-gold-hover); }
.mk #forgot-pw-msg, .mk #new-account-msg { display: block; padding: 4px 0; font-size: 15px; color: var(--mk-text-2); }
.mk .modal-content .flash { margin-bottom: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(196, 43, 43, 0.08); color: #a82424; font-size: 15px; }

/* lity video lightbox */
.lity { background: rgba(5, 7, 10, 0.9); }
