/* SAYED public site. Concept: "every sale ends in a receipt". Dark ink, electric lime, thermal paper. */
:root {
  --bg: #0A0A0B; --surface: #141416; --surface-2: #1B1B1E; --line: #26262A; --line-2: #34343A;
  --text: #F5F5F2; --muted: #A1A19A; --faint: #6E6E68;
  --accent: #C8FF3D; --accent-ink: #0A0A0B; --accent-dim: rgba(200, 255, 61, .12);
  --paper: #F2F0E8; --paper-ink: #1A1A18; --paper-muted: #6B685E;
  --ok: #7BE3A2; --bad: #FF8A7A;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px; --radius-lg: 22px;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
.mk-ar {
  --display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.mk { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.mk img, .mk svg { display: block; max-width: 100%; }
:where(.mk) a { color: inherit; text-decoration: none; }
:where(.mk) h1, :where(.mk) h2, :where(.mk) h3 { margin: 0; }
.mk h1, .mk h2, .mk h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.mk-ar h1, .mk-ar h2, .mk-ar h3 { letter-spacing: 0; line-height: 1.3; }
:where(.mk) p { margin: 0; }
:where(.mk) ul, :where(.mk) ol { margin: 0; padding: 0; list-style: none; }
.mk-num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; direction: ltr; unicode-bidi: isolate; }
.mk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.mk-skip:focus { top: 12px; }
.mk :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mk-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mk-center { text-align: center; margin-top: 40px; }
.mk-center .mk-btn { display: inline-flex; }

/* Buttons */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.mk-btn:active { transform: translateY(1px) scale(.99); }
.mk-btn-accent { background: var(--accent); color: var(--accent-ink); }
.mk-btn-accent:hover { background: #D6FF6E; }
.mk-btn-ghost { border-color: var(--line-2); color: var(--text); }
.mk-btn-ghost:hover { border-color: var(--text); }
.mk-btn-light { background: var(--text); color: var(--bg); }
.mk-btn-light:hover { background: #fff; }
.mk-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mk-link-quiet { color: var(--muted); font-size: 15px; font-weight: 500; padding: 10px 4px; transition: color .2s; }
.mk-link-quiet:hover { color: var(--text); }

/* Logo */
.mk-logo { display: inline-flex; align-items: center; gap: 10px; }
.mk-logo-mark { width: 32px; height: 32px; flex: none; }
.mk-logo-word { font: 700 19px/1 "Unbounded", var(--display); letter-spacing: .02em; direction: ltr; }

/* Header */
.mk-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.mk-header.is-scrolled { border-bottom-color: var(--line); }
.mk-header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.mk-brand { flex: none; }
.mk-nav { display: flex; gap: 4px; margin-inline-start: 16px; }
.mk-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.mk-nav a:hover { color: var(--text); background: var(--surface); }
.mk-nav a[aria-current="page"] { color: var(--text); }
.mk-header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.mk-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; position: relative; }
.mk-burger span[aria-hidden], .mk-burger span[aria-hidden]::before { position: absolute; inset-inline-start: 12px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.mk-burger span[aria-hidden] { top: 18px; }
.mk-burger span[aria-hidden]::before { content: ""; inset-inline-start: 0; top: 7px; }
.mk-burger[aria-expanded="true"] span[aria-hidden] { top: 21px; transform: rotate(45deg); }
.mk-burger[aria-expanded="true"] span[aria-hidden]::before { top: 0; transform: rotate(-90deg); }
.mk-drawer { border-top: 1px solid var(--line); background: var(--bg); }
.mk-drawer nav { display: flex; flex-direction: column; padding-block: 12px 24px; }
.mk-drawer nav a:not(.mk-btn) { padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mk-drawer .mk-btn { margin-top: 20px; }

/* Language switcher */
.mk-lang { position: relative; }
.mk-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px/1 var(--mono); cursor: pointer; color: var(--text); }
.mk-lang summary::-webkit-details-marker { display: none; }
.mk-lang summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mk-lang summary:hover { border-color: var(--text); }
.mk-lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.mk-lang li a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; font-size: 15px; }
.mk-lang li a:hover { background: var(--surface-2); }
.mk-lang li a[aria-current="true"] { color: var(--accent); }
.mk-lang-code { font: 600 11px/1 var(--mono); color: var(--faint); width: 20px; }

/* Typographic primitives */
.mk-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.mk-ar .mk-kicker { font-family: var(--body); letter-spacing: 0; font-size: 14px; }
.mk-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200, 255, 61, .6); animation: mk-pulse 2s infinite; }
.mk-tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 6px; background: var(--accent-dim); color: var(--accent); font: 600 12px/1 var(--mono); letter-spacing: .04em; direction: ltr; }
.mk-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.mk-section { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.mk-section-alt { background: var(--surface); }
.mk-section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.mk-section-head h1, .mk-section-head h2 { font-size: clamp(30px, 4.2vw, 52px); }
.mk-section-head .mk-lead { margin-top: 18px; }

/* Hero */
.mk-hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.mk-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); opacity: .5; pointer-events: none; }
.mk-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.mk-hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
.mk-ar .mk-hero h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.25; }
.mk-hero-product h1 { font-size: clamp(34px, 4.6vw, 62px); }
.mk-hero .mk-lead { margin-top: 24px; }
.mk-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.mk-hero-facts li, .mk-ticks li { display: flex; align-items: flex-start; gap: 10px; }
.mk-hero-facts .mk-icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.mk-hero-visual { position: relative; display: grid; justify-items: center; gap: 22px; }

/* Quick start buttons */
.mk-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; max-width: 640px; }
.mk-quick-btn { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); transition: transform .25s var(--ease), box-shadow .25s; }
.mk-quick-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(200, 255, 61, .22); }
.mk-quick-btn-dark { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.mk-quick-btn-dark:hover { border-color: var(--accent); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.mk-quick-btn > .mk-icon:first-child { width: 26px; height: 26px; flex: none; }
.mk-quick-btn span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mk-quick-btn strong { font: 600 16px/1.2 var(--display); }
.mk-ar .mk-quick-btn strong { font-size: 17px; }
.mk-quick-btn small { font-size: 13px; opacity: .72; line-height: 1.35; }
.mk-quick-btn > .mk-icon:last-child { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.mk-quick-btn:hover > .mk-icon:last-child { transform: translateX(3px); }
[dir="rtl"] .mk-quick-btn > .mk-icon:last-child, [dir="rtl"] .mk-btn .mk-icon { transform: scaleX(-1); }
[dir="rtl"] .mk-quick-btn:hover > .mk-icon:last-child { transform: scaleX(-1) translateX(3px); }

/* Icons */
.mk-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Receipt */
.mk-receipt { margin: 0; width: min(100%, 340px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); transform: rotate(-2deg); }
[dir="rtl"] .mk-receipt { transform: rotate(2deg); }
.mk-receipt-paper { --tear: radial-gradient(circle at 8px 0, transparent 7px, var(--paper) 7.5px); position: relative; background: var(--paper); color: var(--paper-ink); padding: 26px 24px 30px; font: 500 13px/1.5 var(--mono); }
.mk-receipt-paper::before, .mk-receipt-paper::after { content: ""; position: absolute; inset-inline: 0; height: 10px; background: var(--tear); background-size: 16px 10px; }
.mk-receipt-paper::before { top: -9px; transform: rotate(180deg); }
.mk-receipt-paper::after { bottom: -9px; }
.mk-receipt-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed #B9B5A6; font-weight: 700; letter-spacing: .04em; }
.mk-ar .mk-receipt-head { font-family: var(--body); letter-spacing: 0; }
.mk-receipt-head .mk-num { color: var(--paper-muted); font-weight: 500; }
.mk-receipt-lines { padding-block: 12px; border-bottom: 1px dashed #B9B5A6; }
.mk-receipt-lines li, .mk-receipt-total { display: flex; justify-content: space-between; gap: 16px; padding-block: 4px; }
.mk-ar .mk-receipt-lines li span:first-child { font-family: var(--body); font-size: 14px; }
.mk-receipt-total { padding-top: 14px; font-size: 18px; font-weight: 700; }
.mk-ar .mk-receipt-total span:first-child { font-family: var(--body); }
.mk-receipt-foot { margin-top: 10px; color: var(--paper-muted); font-size: 11px; text-align: center; }
.mk-ar .mk-receipt-foot { font-family: var(--body); font-size: 12px; }
.mk-receipt-code { height: 38px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 4px, var(--paper-ink) 4px 5px, transparent 5px 8px, var(--paper-ink) 8px 11px, transparent 11px 12px); opacity: .85; }
.mk-receipt .mk-receipt-lines li, .mk-receipt .mk-receipt-total, .mk-receipt .mk-receipt-foot, .mk-receipt .mk-receipt-code { animation: mk-print .5s var(--ease) both; animation-delay: calc(.35s + var(--i) * .22s); }

/* Ticker */
.mk-ticker { width: 100%; overflow: hidden; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.mk-ticker-track { display: flex; width: max-content; animation: mk-marquee 38s linear infinite; }
.mk-ticker span { padding: 12px 22px; font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; border-inline-end: 1px solid var(--line); }
.mk-ar .mk-ticker span { font-family: var(--body); font-size: 13px; direction: rtl; }

/* Product split */
.mk-split { display: grid; gap: 20px; }
.mk-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mk-product-kassa { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mk-product-kassa .mk-product-copy { order: 2; }
.mk-product h3 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 18px; }
.mk-product-copy > p:not(.mk-tag) { margin-top: 16px; color: var(--muted); }
.mk-ticks { display: grid; gap: 12px; margin-top: 24px; }
.mk-ticks .mk-icon { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

/* Mock interfaces */
.mk-mock { border-radius: 16px; background: #0E0E10; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); font-size: 13px; width: 100%; }
.mk-mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); box-shadow: 16px 0 0 var(--line-2), 32px 0 0 var(--line-2); margin-inline-end: 34px; }
[dir="rtl"] .mk-dot { box-shadow: -16px 0 0 var(--line-2), -32px 0 0 var(--line-2); }
.mk-mock-status { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: #FFC46B; }
.mk-mock-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mk-mock-body { padding: 16px; }
.mk-mock-kassa .mk-mock-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.mk-mock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.mk-mock-tiles button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; min-height: 64px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 13px/1.25 var(--body); text-align: start; }
.mk-mock-tiles button .mk-num { color: var(--muted); font-size: 12px; }
.mk-mock-tiles button.is-hot { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mk-mock-check { display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: var(--paper); color: var(--paper-ink); }
.mk-mock-table { font-weight: 600; padding-bottom: 8px; border-bottom: 1px dashed #B9B5A6; }
.mk-mock-check ul { padding-block: 8px; flex: 1; }
.mk-mock-check li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding-block: 4px; font-size: 12px; }
.mk-mock-check li .mk-num:nth-child(2) { color: var(--paper-muted); }
.mk-mock-sum { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px dashed #B9B5A6; font-weight: 700; }
.mk-mock-pay { margin-top: 10px; display: block; text-align: center; padding: 10px; border-radius: 8px; background: var(--bg); color: var(--accent); font-weight: 600; }
.mk-mock-store .mk-mock-body { position: relative; padding-bottom: 76px; }
.mk-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-mock-product { display: grid; gap: 6px; font-size: 12px; }
.mk-mock-product span:last-child { color: var(--muted); }
.mk-mock-img { aspect-ratio: 4 / 3; border-radius: 10px; }
.mk-tone-a { background: radial-gradient(circle at 30% 30%, #E9D3A8, #8C5A2B 70%); }
.mk-tone-b { background: radial-gradient(circle at 70% 40%, #D8E8C8, #3F5B2E 75%); }
.mk-tone-c { background: linear-gradient(160deg, #E8E4DA 0 45%, #2B2B2E 45% 100%); }
.mk-tone-d { background: radial-gradient(circle at 50% 60%, #F2C96B, #A34A2A 80%); }
.mk-mock-toast { position: absolute; inset-inline: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 13px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: mk-toast 6s var(--ease) infinite; }
.mk-mock-toast .mk-num { margin-inline-start: auto; }
.mk-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FAE5C; flex: none; }

/* Steps */
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); counter-reset: s; }
.mk-steps li { padding: 28px 28px 0 0; border-inline-end: 1px solid var(--line); }
[dir="rtl"] .mk-steps li { padding: 28px 0 0 28px; }
.mk-steps li + li { padding-inline-start: 28px; }
.mk-steps li:last-child { border-inline-end: 0; }
.mk-step-no { display: block; font-size: 13px; color: var(--accent); margin-bottom: 40px; }
.mk-steps h3 { font-size: 21px; line-height: 1.25; }
.mk-steps p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* Features */
.mk-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.mk-features li { background: var(--bg); padding: 28px; transition: background-color .25s; }
.mk-section-alt .mk-features li { background: var(--surface); }
.mk-features li:hover { background: var(--surface-2); }
.mk-features .mk-icon { color: var(--accent); width: 28px; height: 28px; margin-bottom: 28px; }
.mk-features h3 { font-size: 18px; line-height: 1.3; }
.mk-features p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.mk-market-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mk-market .mk-features { grid-template-columns: 1fr 1fr; }

/* Pricing */
.mk-page-top { height: 1px; }
.mk-pricing-product + .mk-pricing-product { margin-top: 64px; }
.mk-pricing-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; scroll-margin-top: 96px; }
.mk-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mk-plan.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px rgba(200, 255, 61, .08); }
.mk-plan-flag { position: absolute; top: -12px; inset-inline-start: 28px; padding: 5px 10px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 600 12px/1 var(--body); }
.mk-plan h3 { font-size: 22px; }
.mk-plan-for { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 2.9em; }
.mk-plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mk-plan-price .mk-num { font-size: clamp(32px, 3.4vw, 42px); font-weight: 500; letter-spacing: -.03em; }
.mk-plan-price small { color: var(--muted); font-size: 14px; }
.mk-plan-ask { font: 600 22px/1.2 var(--display); color: var(--muted); }
.mk-plan .mk-ticks { margin-block: 22px 28px; flex: 1; font-size: 15.5px; }
.mk-plan .mk-btn { width: 100%; }
.mk-pricing-note { margin-top: 28px; color: var(--faint); font-size: 14px; max-width: 72ch; }
.mk-pricing-note:empty { display: none; }

/* FAQ */
.mk-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.mk-faq { border-top: 1px solid var(--line-2); }
.mk-faq-item { border-bottom: 1px solid var(--line); }
.mk-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 18px/1.4 var(--body); }
.mk-faq-item summary::-webkit-details-marker { display: none; }
.mk-faq-item summary .mk-icon { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.mk-faq-item[open] summary .mk-icon { transform: rotate(45deg); color: var(--accent); }
.mk-faq-item p { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }

/* CTA band */
.mk-cta { background: var(--accent); color: var(--accent-ink); padding-block: clamp(64px, 8vw, 104px); }
.mk-cta-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 48px; align-items: end; }
.mk-cta h2 { font-size: clamp(30px, 4vw, 54px); grid-row: span 2; }
.mk-cta p { font-size: 17px; opacity: .75; }
.mk-cta .mk-actions { margin-top: 0; }
.mk-cta .mk-btn-accent { background: var(--bg); color: var(--accent); }
.mk-cta .mk-btn-accent:hover { background: #222; }
.mk-cta .mk-btn-light { background: transparent; color: var(--accent-ink); border-color: rgba(10, 10, 11, .35); }
.mk-cta .mk-btn-light:hover { border-color: var(--accent-ink); }
.mk-cta :focus-visible { outline-color: var(--accent-ink); }

/* Receipt section */
.mk-receipt-section .mk-receipt { justify-self: center; }

/* Contact */
.mk-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mk-contact { border-top: 0; }
.mk-ways { display: grid; gap: 20px; }
.mk-ways li { display: flex; gap: 16px; }
.mk-ways .mk-icon { color: var(--accent); flex: none; margin-top: 2px; }
.mk-ways h3 { font-size: 17px; }
.mk-ways p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.mk-form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.mk-field { display: grid; gap: 8px; }
.mk-field-wide { grid-column: 1 / -1; }
.mk-field label { font-size: 14px; font-weight: 500; }
.mk-field small { color: var(--faint); font-size: 13px; }
.mk-form input:not([type="checkbox"]), .mk-form select, .mk-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.mk-form textarea { resize: vertical; min-height: 130px; }
.mk-form input:focus, .mk-form select:focus, .mk-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.mk-check { display: flex; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.mk-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.mk-check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.mk-hp { position: absolute; inset-inline-start: -9999px; }
.mk-form .mk-btn { width: 100%; }
.mk-alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; }
.mk-alert ul { margin-top: 6px; padding-inline-start: 18px; list-style: disc; }
.mk-alert-ok { background: rgba(123, 227, 162, .1); border: 1px solid rgba(123, 227, 162, .4); color: var(--ok); }
.mk-alert-bad { background: rgba(255, 138, 122, .08); border: 1px solid rgba(255, 138, 122, .4); color: var(--bad); }

/* 404 */
.mk-404 { border-top: 0; min-height: 60vh; }
.mk-404 h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }

/* Footer */
.mk-footer { border-top: 1px solid var(--line); padding-block: 64px 32px; color: var(--muted); font-size: 15px; }
.mk-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.mk-footer-brand p { margin-top: 18px; max-width: 34ch; }
.mk-footer-brand .mk-logo { color: var(--text); }
.mk-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.mk-footer h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 18px; }
.mk-ar .mk-footer h2 { font-family: var(--body); font-size: 13px; letter-spacing: 0; }
.mk-footer li + li { margin-top: 10px; }
.mk-footer a { transition: color .2s; }
.mk-footer a:hover { color: var(--text); }
.mk-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* Auth, account and legal pages rendered by existing code */
.mk-auth-section { background: var(--paper); color: #171717; min-height: 70vh; padding-block: clamp(40px, 7vw, 88px); }
.mk-auth-section a { color: #171717; }
.mk-auth-inner { max-width: 640px; margin-inline: auto; padding-inline: var(--gutter); }
.mk-auth-section article { max-width: 880px; margin-inline: auto; }

/* Site-creation wizard (website-builder/create) inside the new layout */
.mk-wiz { background: var(--bg); color: var(--text); padding-block: 32px 80px; min-height: 80vh; }
.mk-wiz-inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mk-wiz .app-shell { display: block; }
.mk-wiz .topbar, .mk-wiz .mobile-summary-hide { display: none; }
.mk-wiz .welcome { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.mk-wiz .welcome h1 { font-size: clamp(28px, 4vw, 46px); }
.mk-wiz .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mk-ar .mk-wiz .eyebrow { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 14px; }
.mk-wiz .eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mk-wiz .subtitle { color: var(--muted); max-width: 62ch; font-size: 17px; }
.mk-wiz .progress-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 20px; }
.mk-wiz .progress-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.mk-wiz .progress-percent { font-family: var(--mono); color: var(--text); }
.mk-wiz .progress-track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.mk-wiz .progress-fill { height: 100%; background: var(--accent); transition: width .4s var(--ease); }
.mk-wiz .step-labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 14px; }
.mk-wiz .step-label { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; }
.mk-wiz .step-label > span:first-child { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 12px var(--mono); }
.mk-wiz .step-label.active { color: var(--text); }
.mk-wiz .step-label.active > span:first-child { border-color: var(--accent); color: var(--accent); }
.mk-wiz .step-label.done { color: var(--muted); }
.mk-wiz .step-label.done > span:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mk-wiz .layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.mk-wiz .main-card, .mk-wiz .side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.mk-wiz .side-card { position: sticky; top: 96px; }
.mk-wiz .step-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.mk-wiz .step-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.mk-wiz .step-heading h2 { font-size: clamp(22px, 2.6vw, 28px); }
.mk-wiz .step-heading p { color: var(--muted); margin-top: 6px; }
.mk-wiz .type-grid, .mk-wiz .plan-grid, .mk-wiz .template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mk-wiz .type-card, .mk-wiz .plan, .mk-wiz .template { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.mk-wiz .type-card:hover, .mk-wiz .plan:hover, .mk-wiz .template:hover { border-color: var(--text); transform: translateY(-2px); }
.mk-wiz .type-card.is-selected, .mk-wiz .type-card.selected, .mk-wiz .plan.selected, .mk-wiz .template.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mk-wiz .sw-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mk-wiz .type-card:focus-within, .mk-wiz .plan:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.mk-wiz .plan-name { font: 600 18px/1.2 var(--display); }
.mk-ar .mk-wiz .plan-name { font-family: var(--display); }
.mk-wiz .plan-price { font: 500 26px/1.2 var(--mono); margin-top: 6px; }
.mk-wiz .plan-period, .mk-wiz .plan-desc { color: var(--muted); font-size: 14px; }
.mk-wiz .plan-features { color: var(--muted); font-size: 14px; padding-inline-start: 18px; display: grid; gap: 4px; }
.mk-wiz .template-art { aspect-ratio: 16 / 10; border-radius: 10px; background: radial-gradient(circle at 30% 30%, #2a2a30, #0a0a0b 75%); }
.mk-wiz .template-info { color: var(--muted); font-size: 14px; }
.mk-wiz .pill { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: var(--accent-dim); color: var(--accent); font: 600 12px var(--mono); }
.mk-wiz .field { display: grid; gap: 8px; margin-bottom: 16px; }
.mk-wiz label { font-size: 14px; font-weight: 500; }
.mk-wiz .input, .mk-wiz .select, .mk-wiz input[type="text"], .mk-wiz input[type="email"], .mk-wiz input[type="password"], .mk-wiz input[type="tel"], .mk-wiz input[type="url"], .mk-wiz select, .mk-wiz textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--body); }
.mk-wiz textarea { min-height: 110px; resize: vertical; }
.mk-wiz .input:focus, .mk-wiz .select:focus, .mk-wiz input:focus, .mk-wiz select:focus, .mk-wiz textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.mk-wiz .invalid { border-color: var(--bad) !important; }
.mk-wiz .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-wiz .domain-field { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); overflow: hidden; }
.mk-wiz .domain-field .input { border: 0; border-radius: 0; background: transparent; }
.mk-wiz .domain-suffix { color: var(--muted); font: 500 14px var(--mono); white-space: nowrap; padding-inline: 12px; direction: ltr; }
.mk-wiz .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--body); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.mk-wiz .btn:active { transform: translateY(1px); }
.mk-wiz .btn-primary { background: var(--accent); color: var(--accent-ink); }
.mk-wiz .btn-primary:hover { background: #D6FF6E; }
.mk-wiz .btn-secondary { border-color: var(--line-2); color: var(--text); }
.mk-wiz .btn-secondary:hover { border-color: var(--text); }
.mk-wiz .btn-ghost { color: var(--muted); }
.mk-wiz .btn-ghost:hover { color: var(--text); }
.mk-wiz .btn-danger { background: var(--bad); color: var(--accent-ink); }
.mk-wiz .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 26px; }
.mk-wiz .actions-right { display: flex; gap: 12px; margin-inline-start: auto; flex-wrap: wrap; }
.mk-wiz .callout, .mk-wiz .notice, .mk-wiz .info, .mk-wiz .warn, .mk-wiz .error { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); margin: 14px 0; font-size: 14px; color: var(--muted); }
.mk-wiz .good { color: var(--ok); }
.mk-wiz .bad, .mk-wiz .error { color: var(--bad); }
.mk-wiz .warn { color: #FFC46B; border-color: rgba(255, 196, 107, .4); }
.mk-wiz .chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.mk-wiz .chip.active, .mk-wiz .chip.selected, .mk-wiz .is-selected .chip { border-color: var(--accent); color: var(--accent); }
.mk-wiz .checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 10px 0; }
.mk-wiz .checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.mk-wiz .order-line, .mk-wiz .order-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mk-wiz .order-total { font-weight: 700; font-size: 16px; border-bottom: 0; }
.mk-wiz .order-price, .mk-wiz .order-total span:last-child { font-family: var(--mono); direction: ltr; }
.mk-wiz .order-template { display: flex; gap: 12px; align-items: center; }
.mk-wiz .order-thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--line-2); flex: none; }
.mk-wiz .side-divider { height: 1px; background: var(--line); margin: 14px 0; }
.mk-wiz .side-tip { color: var(--muted); font-size: 13px; margin-top: 12px; }
.mk-wiz .trust-list { display: grid; gap: 8px; margin-top: 14px; }
.mk-wiz .trust-item { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.mk-wiz .status-line, .mk-wiz .time-note { font-size: 13px; color: var(--faint); }
.mk-wiz .top-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.mk-wiz .auth-tabs { display: flex; gap: 6px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.mk-wiz .auth-tab { flex: 1; text-align: center; padding: 10px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.mk-wiz .auth-tab.is-selected { background: var(--text); color: var(--bg); }
.mk-wiz .template-toolbar, .mk-wiz .preview-toolbar { display: flex; gap: 6px; align-items: center; }
.mk-wiz .live-preview { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.mk-wiz .preview-url { font: 12px var(--mono); color: var(--muted); direction: ltr; }
.mk-wiz .preview-kicker { font: 500 12px var(--mono); color: var(--accent); text-transform: uppercase; }
.mk-wiz .preview-cta { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 13px; }
.mk-wiz .progress-card + .error, .mk-wiz .layout + .error { margin-top: 0; }

@media (max-width: 860px) {
  .mk-wiz .layout { grid-template-columns: 1fr; }
  .mk-wiz .side-card { display: none; }
  .mk-wiz .mobile-summary { display: block; margin-bottom: 16px; }
  .mk-wiz .mobile-summary details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
  .mk-wiz .mobile-summary summary { cursor: pointer; font-weight: 600; }
}
@media (max-width: 600px) {
  .mk-wiz .form-grid { grid-template-columns: 1fr; }
  .mk-wiz .type-grid, .mk-wiz .plan-grid { grid-template-columns: 1fr; }
  .mk-wiz .actions-right { width: 100%; }
  .mk-wiz .actions-right .btn { flex: 1 1 auto; }
  .mk-wiz .step-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reveal on scroll (only when JS marks the page) */
.mk-js .mk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mk-js .mk-reveal.is-in { opacity: 1; transform: none; }

@keyframes mk-print { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes mk-marquee { to { transform: translateX(-50%); } }
@keyframes mk-pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); } }
@keyframes mk-toast { 0%, 8% { opacity: 0; transform: translateY(12px); } 14%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(12px); } }

/* Responsive */
@media (max-width: 1080px) {
  .mk-nav { display: none; }
  .mk-burger { display: inline-block; }
  .mk-hide-sm { display: none; }
  .mk-product, .mk-product-kassa { grid-template-columns: 1fr; }
  .mk-product-kassa .mk-product-copy { order: 0; }
  .mk-market-grid, .mk-faq-grid { grid-template-columns: 1fr; }
  .mk-footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mk-hero-grid, .mk-contact-grid { grid-template-columns: 1fr; }
  .mk-hero-visual { margin-top: 8px; }
  .mk-plans { grid-template-columns: 1fr; max-width: 520px; }
  .mk-plan-for { min-height: 0; }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-steps li, [dir="rtl"] .mk-steps li, .mk-steps li + li { padding: 24px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .mk-step-no { margin-bottom: 16px; }
  .mk-cta-row { grid-template-columns: 1fr; align-items: start; }
  .mk-cta h2 { grid-row: auto; }
  .mk-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body.mk { font-size: 16px; }
  .mk-header-row { height: 64px; gap: 12px; }
  .mk-hide-xs { display: none; }
  .mk-quick { grid-template-columns: 1fr; }
  .mk-market .mk-features { grid-template-columns: 1fr; }
  .mk-mock-kassa .mk-mock-body { grid-template-columns: 1fr; }
  .mk-mock-tiles { grid-template-columns: 1fr 1fr 1fr; }
  .mk-mock-tiles button { min-height: 56px; padding: 10px; font-size: 12px; }
  .mk-form { grid-template-columns: 1fr; }
  .mk-actions .mk-btn { flex: 1 1 auto; }
  .mk-product { padding: 22px; }
  .mk-features li { padding: 24px; }
  .mk-receipt { width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .mk-ticker-track { animation: none; }
  .mk-mock-toast { animation: none; }
  .mk-receipt .mk-receipt-lines li, .mk-receipt .mk-receipt-total, .mk-receipt .mk-receipt-foot, .mk-receipt .mk-receipt-code { animation: none !important; }
  .mk-js .mk-reveal { opacity: 1; transform: none; }
}

/* Wizard text contrast (legacy wizard markup sets its own colours) */
.mk-wiz .type-card span, .mk-wiz .plan span, .mk-wiz .template span, .mk-wiz .step-heading h2, .mk-wiz .main-card h2, .mk-wiz .main-card h3 { color: var(--text); }
.mk-wiz .step-heading p, .mk-wiz .main-card p, .mk-wiz .type-card .muted { color: var(--muted); }
.mk-wiz .step-label > .step-name { color: inherit; }
.mk-wiz .main-card label, .mk-wiz .side-card label { color: var(--text); }
.mk-wiz .bg-white, .mk-wiz .bg-neutral-50, .mk-wiz .bg-neutral-100 { background-color: var(--surface-2) !important; }
.mk-wiz .bg-white { background-color: var(--surface-2) !important; }
.mk-wiz .text-neutral-900, .mk-wiz .text-black { color: var(--text) !important; }
.mk-wiz .text-neutral-700, .mk-wiz .text-neutral-600, .mk-wiz .text-neutral-500, .mk-wiz .text-neutral-400 { color: var(--muted) !important; }
.mk-wiz .border-neutral-200, .mk-wiz .border-neutral-300, .mk-wiz .border-neutral-100 { border-color: var(--line-2) !important; }
.mk-wiz [class*="rounded"] input[type="radio"] { accent-color: var(--accent); }
.mk-wiz .text-emerald-700, .mk-wiz .text-emerald-800 { color: var(--accent) !important; }
.mk-wiz .field { background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--text); }
.mk-wiz .field > label { color: var(--text); }
