/* ==========================================================================
   FinOrjin public marketing site — static/css/marketing/marketing.css
   Loaded ONLY by app/templates/marketing/base_marketing.html.
   Every rule is scoped under body.mk-site (or html.mk-root) and uses the
   .mk-* namespace, so nothing here can reach the authenticated app or the
   existing public/legal pages (which keep base.html + public_visual_system.css).
   Design reference: Aigocy (whitespace, large type, 40px surfaces, glow,
   restrained motion) re-expressed in the FinOrjin navy/blue family.
   ========================================================================== */

/* Urbanist (SIL OFL 1.1, see static/fonts/urbanist/OFL.txt) — self-hosted
   because the site CSP only allows font-src 'self'. Variable weight 100–900.
   latin-ext covers Turkish ğ Ğ ş Ş İ; latin covers ı and the rest. */
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../fonts/urbanist/urbanist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../fonts/urbanist/urbanist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallback: while Urbanist loads (font-display: swap)
   text renders in Arial scaled to Urbanist's advance widths and vertical
   metrics, so the swap does not move the hero headline (CLS). Values
   computed from the self-hosted woff2 (default + wght 700 instance) against
   Arial / Arial Bold. No network request: local() only. */
@font-face {
  font-family: "Urbanist Fallback";
  font-style: normal;
  font-weight: 100 599;
  src: local("Arial"), local("ArialMT");
  size-adjust: 97.05%;
  ascent-override: 97.89%;
  descent-override: 25.76%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Urbanist Fallback";
  font-style: normal;
  font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 95.18%;
  ascent-override: 99.81%;
  descent-override: 26.26%;
  line-gap-override: 0%;
}

/* ---- Tokens ------------------------------------------------------------- */
body.mk-site {
  --mk-navy-950: #030c1c;
  --mk-navy-900: #061631;
  --mk-navy-800: #0a2250;
  --mk-navy-700: #10306c;
  --mk-blue-700: #0f45a8;
  --mk-blue-600: #1454c8;
  --mk-blue-500: #2b6be0;
  --mk-blue-400: #5a8ff0;
  --mk-blue-300: #93b6f7;
  --mk-blue-200: #c4d7fb;
  --mk-blue-100: #e3ecfd;
  --mk-blue-50: #f2f6fe;

  /* V1.1 controlled accent (~20%). Signal = intelligence/data accent:
     glows, icons, tints and graphics only -- never body text on light
     backgrounds. Positive/caution = semantic status only. */
  --mk-signal-400: #3cc8ec;
  --mk-signal-600: #0e8fb4;
  --mk-signal-100: #dff6fc;
  --mk-positive-600: #15803d;
  --mk-caution-600: #b45309;

  --mk-ink: #0a1426;
  --mk-ink-2: #2a3548;
  --mk-muted: #536078;
  --mk-subtle: #5d6a80;
  --mk-line: rgba(6, 22, 49, 0.09);
  --mk-line-strong: rgba(6, 22, 49, 0.14);
  --mk-bg: #f3f5f9;
  --mk-surface: #ffffff;

  --mk-on-dark: #ffffff;
  --mk-on-dark-soft: rgba(222, 232, 250, 0.8);
  --mk-on-dark-line: rgba(255, 255, 255, 0.12);

  --mk-radius-xl: 40px;
  --mk-radius-lg: 28px;
  --mk-radius-md: 20px;
  --mk-radius-sm: 14px;
  --mk-radius-pill: 999px;

  --mk-shadow-sm: 0 1px 2px rgba(6, 22, 49, 0.05), 0 6px 18px -8px rgba(6, 22, 49, 0.08);
  --mk-shadow-md: 0 30px 70px -30px rgba(6, 22, 49, 0.32);
  --mk-shadow-glow: 0 0 0 1px rgba(20, 84, 200, 0.14), 0 24px 60px -24px rgba(20, 84, 200, 0.45);

  --mk-gradient-dark:
    radial-gradient(1100px 560px at 85% -10%, rgba(43, 107, 224, 0.42), transparent 62%),
    radial-gradient(800px 480px at -5% 105%, rgba(20, 84, 200, 0.32), transparent 60%),
    linear-gradient(160deg, #061631 0%, #081c40 48%, #0b295c 100%);
  --mk-gradient-accent: linear-gradient(92deg, #bcd3ff 0%, #6f9ef5 42%, #8fe0f4 100%);
  /* Journey progression: navy -> blue -> signal across the 8 steps. */
  --mk-gradient-journey: linear-gradient(90deg, var(--mk-navy-700) 0%, var(--mk-blue-500) 55%, var(--mk-signal-400) 100%);

  --mk-font: "Urbanist", "Urbanist Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mk-container: 1240px;
  --mk-gutter: clamp(16px, 4vw, 32px);
  --mk-section-y: clamp(72px, 9vw, 128px);
  --mk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Base (scoped; no Bootstrap, no global reset) ----------------------- */
html.mk-root {
  scroll-padding-top: 104px;
}

.mk-site,
.mk-site *,
.mk-site *::before,
.mk-site *::after {
  box-sizing: border-box;
}

.mk-site button,
.mk-site input {
  font: inherit;
}

/* Sprite icons (see marketing/_macros.html icon()) */
.mk-site .mk-i {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  overflow: visible;
}

body.mk-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mk-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mk-ink);
  background: var(--mk-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.mk-site h1,
body.mk-site h2,
body.mk-site h3 {
  font-family: var(--mk-font);
  margin: 0;
}

body.mk-site p {
  margin: 0;
}

body.mk-site a {
  color: inherit;
  text-decoration: none;
}

body.mk-site img {
  max-width: 100%;
  height: auto;
}

body.mk-site :focus-visible {
  outline: 3px solid var(--mk-blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.mk-site .mk-main {
  display: block;
  outline: none;
  /* clip (not hidden) so decorative overflow never scrolls sideways and
     position: sticky inside the page keeps working */
  overflow-x: clip;
}

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

.mk-site .mk-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-navy-900);
  color: #fff;
  font-weight: 600;
}

.mk-site .mk-skip:focus {
  top: 16px;
}

/* ---- Shared partials rendered here (cookie consent, flash) --------------
   The marketing layout does not load Bootstrap, so the few Bootstrap class
   names those two partials use are styled here, scoped to the partials. */
.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal, .flash-container) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal) .btn-sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
}

.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal) .btn-primary {
  border-color: var(--mk-blue-600);
  background: var(--mk-blue-600);
  color: #fff;
}

.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal) .btn-primary:hover {
  border-color: var(--mk-blue-700);
  background: var(--mk-blue-700);
}

.mk-site .cookie-consent-banner .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.mk-site .cookie-consent-banner .btn-outline-light:hover {
  background: #fff;
  color: var(--mk-ink);
}

.mk-site .cookie-preferences-modal .btn-secondary {
  border-color: var(--mk-line-strong);
  background: #eef1f6;
  color: var(--mk-ink);
}

.mk-site .cookie-preferences-modal {
  color: var(--mk-ink);
}

.mk-site .cookie-preferences-modal .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-site .cookie-preferences-modal .form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--mk-blue-600);
}

.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal) .m-0 { margin: 0; }
.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal, .flash-container) .mb-0 { margin-bottom: 0; }
.mk-site :is(.cookie-consent-banner, .cookie-preferences-modal, .flash-container) .mb-2 { margin-bottom: 0.5rem; }
.mk-site .cookie-preferences-modal .mb-3 { margin-bottom: 1rem; }
.mk-site .cookie-preferences-modal .small { font-size: 0.875em; }

@media (min-width: 768px) {
  .mk-site .cookie-consent-banner .mb-md-0 { margin-bottom: 0; }
}

.mk-site :is(.cookie-preferences-modal, .flash-container) .btn-close {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mk-ink);
  opacity: 0.6;
  cursor: pointer;
}

.mk-site :is(.cookie-preferences-modal, .flash-container) .btn-close:hover {
  opacity: 1;
  background: rgba(6, 22, 49, 0.06);
}

.mk-site :is(.cookie-preferences-modal, .flash-container) .btn-close::before,
.mk-site :is(.cookie-preferences-modal, .flash-container) .btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.mk-site :is(.cookie-preferences-modal, .flash-container) .btn-close::after {
  transform: rotate(-45deg);
}

/* Flash messages, positioned below the floating header */
.mk-site .flash-container {
  position: fixed;
  top: 92px;
  right: 0;
  z-index: 1080;
  width: 100%;
  max-width: 380px;
  padding: 1rem;
}

.mk-site .flash-container .alert {
  position: relative;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border: 1px solid var(--mk-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--mk-ink);
  box-shadow: var(--mk-shadow-md);
  transition: opacity 0.2s ease;
}

.mk-site .flash-container .alert .btn-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
}

.mk-site .flash-container .alert.fade:not(.show) {
  opacity: 0;
}

.mk-site .flash-container .alert-success { border-color: #b7e4c7; background: #effaf3; color: #14532d; }
.mk-site .flash-container .alert-warning { border-color: #f5dc9c; background: #fff8e6; color: #6b4a00; }
.mk-site .flash-container .alert-danger { border-color: #f5c2c0; background: #fff1f0; color: #7f1d1d; }
.mk-site .flash-container .alert-info { border-color: var(--mk-blue-200); background: var(--mk-blue-50); color: var(--mk-blue-700); }

/* ---- Buttons & links ---------------------------------------------------- */
.mk-site .mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--mk-radius-pill);
  font-family: var(--mk-font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s var(--mk-ease),
    color 0.25s var(--mk-ease),
    border-color 0.25s var(--mk-ease),
    box-shadow 0.3s var(--mk-ease),
    transform 0.3s var(--mk-ease);
}

.mk-site .mk-btn .mk-i {
  font-size: 0.85em;
  transition: transform 0.3s var(--mk-ease);
}

.mk-site .mk-btn:hover .mk-i {
  transform: translateX(3px);
}

.mk-site .mk-btn--lg {
  height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

.mk-site .mk-btn--primary {
  background: var(--mk-navy-900);
  color: #fff;
}

.mk-site .mk-btn--primary:hover {
  background: var(--mk-blue-600);
  color: #fff;
  box-shadow: var(--mk-shadow-glow);
}

.mk-site .mk-btn--light {
  background: #fff;
  color: var(--mk-navy-900);
  box-shadow: 0 10px 30px -12px rgba(90, 143, 240, 0.65);
}

.mk-site .mk-btn--light:hover {
  background: var(--mk-blue-50);
  color: var(--mk-navy-900);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -14px rgba(90, 143, 240, 0.85);
}

.mk-site .mk-btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.mk-site .mk-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.mk-site .mk-btn--ghost {
  background: transparent;
  color: var(--mk-ink-2);
}

.mk-site .mk-btn--ghost:hover {
  background: rgba(6, 22, 49, 0.06);
  color: var(--mk-ink);
}

.mk-site .mk-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mk-blue-600);
  font-weight: 700;
  transition: gap 0.25s var(--mk-ease), color 0.25s var(--mk-ease);
}

.mk-site .mk-textlink:hover {
  gap: 12px;
  color: var(--mk-blue-700);
}

.mk-site .mk-textlink--light {
  color: var(--mk-blue-200);
}

.mk-site .mk-textlink--light:hover {
  color: #fff;
}

/* ---- Shared atoms ------------------------------------------------------- */
.mk-site .mk-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--mk-radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mk-site .mk-pill--glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbe6fb;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mk-site .mk-pill__spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mk-blue-300);
  box-shadow: 0 0 0 4px rgba(147, 182, 247, 0.18), 0 0 14px 2px rgba(147, 182, 247, 0.7);
}

.mk-site .mk-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--mk-radius-pill);
  border: 1px solid var(--mk-blue-100);
  background: var(--mk-blue-50);
  color: var(--mk-blue-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mk-site .mk-h2 {
  margin-top: 18px;
  text-wrap: balance;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--mk-ink);
}

.mk-site .mk-lead {
  margin-top: 18px;
  text-wrap: pretty;
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--mk-muted);
}

.mk-site .mk-section-head {
  max-width: 860px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.mk-site .mk-section-head--start {
  margin-left: 0;
  text-align: left;
}

.mk-site .mk-section-head--dark .mk-eyebrow {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--mk-blue-200);
}

.mk-site .mk-section-head--dark .mk-h2 {
  color: #fff;
}

.mk-site .mk-section-head--dark .mk-lead {
  color: var(--mk-on-dark-soft);
}

.mk-site .mk-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--mk-blue-100);
  background: linear-gradient(180deg, #fff 0%, var(--mk-blue-50) 100%);
  color: var(--mk-blue-600);
  font-size: 1.2rem;
  box-shadow: 0 8px 20px -12px rgba(20, 84, 200, 0.5);
}

.mk-site .mk-icon-tile--sm {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.05rem;
}

.mk-site .mk-icon-tile--light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.mk-site .mk-icon-tile--glass {
  border-color: rgba(156, 192, 255, 0.24);
  background: rgba(90, 143, 240, 0.14);
  color: var(--mk-blue-300);
  box-shadow: 0 0 24px -6px rgba(90, 143, 240, 0.45);
}

.mk-site .mk-icon-tile--muted {
  border-color: var(--mk-line);
  background: #eef1f6;
  color: var(--mk-subtle);
  box-shadow: none;
}

.mk-site .mk-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--mk-radius-pill);
  background: #f0f3f8;
  color: var(--mk-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-site .mk-tag--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #aee9f8;
}

/* V1.1 semantic tag tones: tint + dot carry the colour, text stays dark. */
.mk-site .mk-tag--signal,
.mk-site .mk-tag--blue {
  gap: 7px;
  color: var(--mk-navy-800);
}

.mk-site .mk-tag--signal::before,
.mk-site .mk-tag--blue::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mk-site .mk-tag--signal {
  background: var(--mk-signal-100);
}

.mk-site .mk-tag--signal::before {
  background: var(--mk-signal-600);
}

.mk-site .mk-tag--blue {
  background: var(--mk-blue-50);
  color: var(--mk-blue-700);
}

.mk-site .mk-tag--blue::before {
  background: var(--mk-blue-600);
}

/* "Yakında" = not available yet: muted caution tone, never a success colour. */
.mk-site .mk-badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--mk-radius-pill);
  border: 1px solid #f1d5b0;
  background: #fff8ef;
  color: var(--mk-caution-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mk-site .mk-badge-soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mk-caution-600);
}

/* ---- Header ------------------------------------------------------------- */
.mk-site .mk-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1040;
  padding-inline: 16px;
  pointer-events: none;
}

.mk-site .mk-header__bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  height: 68px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mk-radius-pill);
  background: rgba(8, 26, 60, 0.35);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  color: #fff;
  transition:
    background-color 0.35s var(--mk-ease),
    border-color 0.35s var(--mk-ease),
    box-shadow 0.35s var(--mk-ease),
    color 0.35s var(--mk-ease);
}

.mk-site .mk-header.is-solid .mk-header__bar {
  border-color: var(--mk-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--mk-ink);
  box-shadow: 0 18px 40px -24px rgba(6, 22, 49, 0.35);
}

.mk-site .mk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: inherit;
}

/* Official FinOrjin mark (portrait, 91x128 source): white on the navy glass
   header, dark on white surfaces (solid header, footer). Both polarities sit
   in the same fixed box, so swapping them never shifts layout. */
.mk-site .mk-brand__mark {
  display: block;
  flex: none;
  width: 26px;
  height: 36px;
}

.mk-site .mk-brand__mark--dark {
  display: none;
}

.mk-site .mk-header.is-solid .mk-brand__mark--light {
  display: none;
}

.mk-site .mk-header.is-solid .mk-brand__mark--dark,
.mk-site .mk-footer .mk-brand__mark--dark {
  display: block;
}

.mk-site .mk-brand__name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mk-site .mk-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.mk-site .mk-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mk-site .mk-nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--mk-radius-pill);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s var(--mk-ease), color 0.2s var(--mk-ease);
}

.mk-site .mk-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mk-site .mk-header.is-solid .mk-nav__link {
  color: var(--mk-ink-2);
}

.mk-site .mk-header.is-solid .mk-nav__link:hover {
  background: rgba(6, 22, 49, 0.06);
  color: var(--mk-ink);
}

.mk-site .mk-nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--ghost {
  color: #fff;
}

.mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--primary {
  background: #fff;
  color: var(--mk-navy-900);
}

.mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--primary:hover {
  background: var(--mk-blue-50);
}

.mk-site .mk-menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.mk-site .mk-header.is-solid .mk-menu-toggle {
  border-color: var(--mk-line-strong);
  background: #fff;
}

.mk-site .mk-menu-toggle__bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--mk-ease), top 0.3s var(--mk-ease);
}

.mk-site .mk-menu-toggle__bar:first-child {
  top: 18px;
}

.mk-site .mk-menu-toggle__bar:last-child {
  top: 25px;
}

.mk-site .mk-header.is-open .mk-menu-toggle__bar:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.mk-site .mk-header.is-open .mk-menu-toggle__bar:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1099.98px) {
  .mk-site .mk-menu-toggle {
    display: inline-block;
  }

  .mk-site .mk-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius-lg);
    background: #fff;
    color: var(--mk-ink);
    box-shadow: var(--mk-shadow-md);
  }

  .mk-site .mk-header.is-open .mk-nav {
    display: flex;
  }

  .mk-site .mk-nav__list {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .mk-site .mk-nav__link,
  .mk-site .mk-header.is-solid .mk-nav__link {
    height: 48px;
    padding: 0 16px;
    color: var(--mk-ink-2);
    border-radius: var(--mk-radius-sm);
  }

  .mk-site .mk-nav__link:hover {
    background: var(--mk-blue-50);
    color: var(--mk-ink);
  }

  .mk-site .mk-nav__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--mk-line);
  }

  .mk-site .mk-nav__actions .mk-btn {
    height: 50px;
  }

  .mk-site .mk-header .mk-nav__actions .mk-btn--ghost,
  .mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--ghost {
    border-color: var(--mk-line-strong);
    color: var(--mk-ink);
  }

  .mk-site .mk-header .mk-nav__actions .mk-btn--primary,
  .mk-site .mk-header:not(.is-solid) .mk-nav__actions .mk-btn--primary {
    background: var(--mk-navy-900);
    color: #fff;
  }
}

@media (max-width: 575.98px) {
  .mk-site .mk-header {
    top: 10px;
    padding-inline: 10px;
  }

  .mk-site .mk-header__bar {
    height: 60px;
    padding: 0 7px 0 14px;
  }

  .mk-site .mk-brand__mark {
    width: 23px;
    height: 32px;
  }

  .mk-site .mk-brand__name {
    font-size: 1.15rem;
  }
}

/* ---- Hero --------------------------------------------------------------- */
.mk-site .mk-hero {
  padding: 16px 16px 0;
}

.mk-site .mk-hero__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--mk-radius-xl);
  background: var(--mk-gradient-dark);
  color: #fff;
  padding: clamp(128px, 14vw, 172px) 0 clamp(72px, 9vw, 120px);
}

.mk-site .mk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.mk-site .mk-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, #000 20%, transparent 75%);
}

.mk-site .mk-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
}

.mk-site .mk-hero__glow--a {
  top: -140px;
  right: 6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(58, 118, 240, 0.7) 0%, transparent 70%);
  animation: mk-drift 16s var(--mk-ease) infinite alternate;
}

.mk-site .mk-hero__glow--b {
  bottom: -220px;
  left: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(20, 84, 200, 0.55) 0%, transparent 70%);
  animation: mk-drift 20s var(--mk-ease) infinite alternate-reverse;
}

/* V1.1: faint signal glow -- depth, not colour for its own sake. */
.mk-site .mk-hero__glow--c {
  top: 26%;
  right: 18%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(60, 200, 236, 0.26) 0%, transparent 70%);
  opacity: 0.8;
  animation: mk-drift 24s var(--mk-ease) infinite alternate;
}

.mk-site .mk-hero__ring {
  position: absolute;
  top: 50%;
  right: -260px;
  width: 720px;
  height: 720px;
  margin-top: -360px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(90, 143, 240, 0.08);
}

.mk-site .mk-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(56px, 7vw, 88px);
}

.mk-site .mk-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.mk-site .mk-hero__title {
  margin-top: 24px;
  font-size: clamp(2.6rem, 1.2rem + 4.9vw, 5.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.mk-site .mk-hero__title-lead,
.mk-site .mk-hero__title-accent {
  display: block;
}

.mk-site .mk-hero__title-accent {
  padding-bottom: 0.08em;
  background: var(--mk-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mk-blue-300);
}

.mk-site .mk-hero__text {
  max-width: 44em;
  margin-top: 24px;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--mk-on-dark-soft);
}

.mk-site .mk-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.mk-site .mk-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--mk-blue-200);
  font-weight: 600;
}

.mk-site .mk-hero__link:hover {
  color: #fff;
}

.mk-site .mk-hero__link .mk-i {
  font-size: 0.8em;
}

.mk-site .mk-hero__audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(222, 232, 250, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
}

.mk-site .mk-hero__audience li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mk-site .mk-hero__audience .mk-i {
  color: var(--mk-blue-300);
}

.mk-site .mk-hero__visual {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.mk-site .mk-hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% 0;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 143, 240, 0.55), transparent 65%);
  filter: blur(50px);
}

.mk-site .mk-float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--mk-ink);
  box-shadow: 0 24px 50px -20px rgba(3, 12, 28, 0.55);
  animation: mk-float 7s var(--mk-ease) infinite alternate;
}

/* Chips straddle the frame edges (browser bar / below the frame) so they
   never cover the dashboard screenshot itself. */
.mk-site .mk-float-chip--1 {
  left: -44px;
  bottom: -60px;
}

.mk-site .mk-float-chip--2 {
  top: -48px;
  right: -44px;
  animation-delay: -3.5s;
}

.mk-site .mk-float-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--mk-blue-500), var(--mk-navy-800));
  color: #fff;
  font-size: 0.95rem;
}

.mk-site .mk-float-chip__body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.mk-site .mk-float-chip__body strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.mk-site .mk-float-chip__body span {
  font-size: 0.8rem;
  color: var(--mk-muted);
}

@media (max-width: 1199.98px) {
  .mk-site .mk-float-chip--1 {
    left: 12px;
  }

  .mk-site .mk-float-chip--2 {
    right: 12px;
  }
}

@media (max-width: 767.98px) {
  .mk-site .mk-hero {
    padding: 10px 10px 0;
  }

  .mk-site .mk-hero__panel {
    border-radius: 28px;
  }

  .mk-site .mk-hero__ctas .mk-btn {
    flex: 1 1 100%;
  }

  .mk-site .mk-hero__link {
    padding: 6px 0;
  }

  .mk-site .mk-float-chip--1 {
    left: 8px;
    bottom: -62px;
  }

  .mk-site .mk-float-chip--2 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  /* Give the dashboard screenshot as much width as the panel allows. */
  .mk-site .mk-hero__visual {
    width: calc(100% + 20px);
    margin-inline: -10px;
  }
}

/* ---- Screenshot frame / placeholder ------------------------------------ */
.mk-site .mk-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--mk-radius-md);
  background: #fff;
  box-shadow: var(--mk-shadow-md);
}

.mk-site .mk-shot--hero {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 100px -40px rgba(3, 12, 28, 0.85);
}

.mk-site .mk-shot__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--mk-line);
  background: #f6f8fb;
}

.mk-site .mk-shot__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe5ee;
}

.mk-site .mk-shot__url {
  overflow: hidden;
  max-width: 60%;
  margin-left: 12px;
  padding: 4px 12px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-pill);
  background: #fff;
  color: var(--mk-subtle);
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-site .mk-shot__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f8fafd 0%, #eef3fa 100%);
}

.mk-site .mk-shot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Hero shows the full dashboard screenshot (1898×903) — never cropped. */
.mk-site .mk-shot--hero .mk-shot__viewport {
  aspect-ratio: 1898 / 903;
}

.mk-site .mk-shot--hero .mk-shot__img {
  object-fit: contain;
}

.mk-site .mk-shot__placeholder {
  position: absolute;
  inset: 0;
}

.mk-site .mk-shot__skeleton {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 18% 1fr;
  gap: 4%;
  padding: 5%;
  opacity: 0.9;
}

.mk-site .mk-skel {
  display: flex;
  flex-direction: column;
  gap: 8%;
}

.mk-site .mk-skel span {
  display: block;
  border-radius: 8px;
  background: #e3e9f3;
}

.mk-site .mk-skel--side span {
  height: 7%;
}

.mk-site .mk-skel--side span:first-child {
  height: 10%;
  background: #d5e1f5;
}

.mk-site .mk-skel--main {
  gap: 5%;
}

.mk-site .mk-skel__title {
  width: 42%;
  height: 7%;
}

.mk-site .mk-skel__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  height: 22%;
}

.mk-site .mk-skel .mk-skel__card {
  height: 100%;
  background: linear-gradient(180deg, #e8eef8, #dde6f4);
}

.mk-site .mk-skel .mk-skel__block {
  flex: 1 1 auto;
  background: linear-gradient(180deg, #e9eff8, #e2e9f4);
}

.mk-site .mk-skel__line {
  height: 5%;
}

.mk-site .mk-skel__line--short {
  width: 60%;
}

.mk-site .mk-shot__label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: min(86%, 380px);
  padding: 16px 20px;
  border: 1.5px dashed rgba(20, 84, 200, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px -24px rgba(6, 22, 49, 0.4);
}

.mk-site .mk-shot__label .mk-i {
  margin-bottom: 2px;
  color: var(--mk-blue-500);
  font-size: 1.1rem;
}

.mk-site .mk-shot__label-kicker {
  color: var(--mk-blue-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mk-site .mk-shot__label-title {
  color: var(--mk-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.mk-site .mk-shot__label-note {
  color: var(--mk-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.mk-site .mk-shot__label-id {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--mk-blue-50);
  color: var(--mk-blue-700);
  font-size: 0.7rem;
}

@media (max-width: 575.98px) {
  .mk-site .mk-shot__label {
    padding: 10px 12px;
  }

  .mk-site .mk-shot__label-note,
  .mk-site .mk-shot__label-id {
    display: none;
  }
}

/* ---- Ecosystem marquee (neutral; no institution logos) ----------------- */
.mk-site .mk-ecosystem {
  padding: clamp(40px, 5vw, 56px) 0 0;
}

.mk-site .mk-ecosystem__label {
  margin-bottom: 20px;
  color: var(--mk-subtle);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.mk-site .mk-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mk-site .mk-marquee__track {
  display: flex;
  width: max-content;
  animation: mk-marquee 42s linear infinite;
}

.mk-site .mk-marquee:hover .mk-marquee__track {
  animation-play-state: paused;
}

.mk-site .mk-marquee__list {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 48px 0 0;
  list-style: none;
}

.mk-site .mk-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #56627a;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mk-site .mk-marquee__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--mk-blue-400), var(--mk-blue-700));
  transform: rotate(45deg);
}

/* ---- Sections ----------------------------------------------------------- */
.mk-site .mk-section {
  padding: var(--mk-section-y) 0;
}

.mk-site .mk-section--panel {
  padding: 0 16px;
}

.mk-site .mk-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--mk-section-y) 0;
  border-radius: var(--mk-radius-xl);
  background: var(--mk-gradient-dark);
  color: #fff;
}

.mk-site .mk-panel__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  z-index: -1;
  width: 900px;
  height: 480px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(58, 118, 240, 0.45), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.mk-site .mk-panel__glow--center {
  top: auto;
  bottom: -260px;
}

.mk-site .mk-panel--security {
  background:
    radial-gradient(900px 500px at 50% 110%, rgba(43, 107, 224, 0.4), transparent 62%),
    linear-gradient(180deg, #040f24 0%, #061631 55%, #0a2250 100%);
}

@media (max-width: 767.98px) {
  .mk-site .mk-section--panel {
    padding: 0 10px;
  }

  .mk-site .mk-panel {
    border-radius: 28px;
  }
}

/* Platform journey */
.mk-site .mk-journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.mk-site .mk-journey__step {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--mk-line);
  border-radius: 24px;
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease), border-color 0.35s var(--mk-ease);
}

.mk-site .mk-journey__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  /* V1.1: each step shows its slice of one navy -> blue -> signal gradient,
     so the eight bars read as a single progression. */
  background: var(--mk-gradient-journey);
  background-size: 800% 100%;
  opacity: 0.85;
}

.mk-site .mk-journey__step:nth-child(1)::before { background-position: 0% 0; }
.mk-site .mk-journey__step:nth-child(2)::before { background-position: 14.29% 0; }
.mk-site .mk-journey__step:nth-child(3)::before { background-position: 28.57% 0; }
.mk-site .mk-journey__step:nth-child(4)::before { background-position: 42.86% 0; }
.mk-site .mk-journey__step:nth-child(5)::before { background-position: 57.14% 0; }
.mk-site .mk-journey__step:nth-child(6)::before { background-position: 71.43% 0; }
.mk-site .mk-journey__step:nth-child(7)::before { background-position: 85.71% 0; }
.mk-site .mk-journey__step:nth-child(8)::before { background-position: 100% 0; }

.mk-site .mk-journey__step--signal .mk-journey__icon {
  background: linear-gradient(145deg, var(--mk-signal-600) 0%, var(--mk-navy-800) 100%);
  box-shadow: 0 12px 26px -12px rgba(14, 143, 180, 0.8);
}

.mk-site .mk-journey__step:hover {
  transform: translateY(-4px);
  border-color: var(--mk-blue-100);
  box-shadow: var(--mk-shadow-glow);
}

.mk-site .mk-journey__index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--mk-subtle);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mk-site .mk-journey__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--mk-blue-500) 0%, var(--mk-navy-800) 100%);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 12px 26px -12px rgba(20, 84, 200, 0.75);
}

.mk-site .mk-journey__title {
  margin-top: 22px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mk-ink);
}

.mk-site .mk-journey__text {
  margin-top: 8px;
  color: var(--mk-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

@media (max-width: 639.98px) {
  .mk-site .mk-journey__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50px;
    bottom: -17px;
    width: 2px;
    height: 16px;
    background: var(--mk-blue-200);
  }
}

@media (min-width: 640px) {
  .mk-site .mk-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .mk-site .mk-journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Capabilities bento */
.mk-site .mk-capabilities {
  padding-top: 0;
}

.mk-site .mk-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.mk-site .mk-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.35s var(--mk-ease), box-shadow 0.35s var(--mk-ease), border-color 0.35s var(--mk-ease);
}

.mk-site .mk-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 143, 240, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--mk-ease);
}

.mk-site .mk-card:hover {
  transform: translateY(-4px);
  border-color: var(--mk-blue-100);
  box-shadow: var(--mk-shadow-glow);
}

.mk-site .mk-card:hover::after {
  opacity: 1;
}

.mk-site .mk-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-site .mk-card__title {
  margin-top: 24px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--mk-ink);
}

.mk-site .mk-card__text {
  margin-top: 10px;
  color: var(--mk-muted);
  line-height: 1.6;
}

.mk-site .mk-card--featured {
  display: grid;
  /* One column that follows the card width; an auto column grew to the
     media's intrinsic width and clipped the copy and frame on phones. */
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  border-color: transparent;
  background: var(--mk-gradient-dark);
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(6, 22, 49, 0.6);
}

.mk-site .mk-card--featured::after {
  top: auto;
  right: auto;
  bottom: -160px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(58, 118, 240, 0.5), transparent 70%);
  opacity: 1;
}

.mk-site .mk-card--featured:hover {
  border-color: transparent;
}

.mk-site .mk-card--featured .mk-card__title {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  color: #fff;
}

.mk-site .mk-card--featured .mk-card__text {
  max-width: 34em;
  color: var(--mk-on-dark-soft);
  font-size: 1.05rem;
}

.mk-site .mk-card__sublabel {
  margin-top: 26px;
  color: var(--mk-blue-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mk-site .mk-chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-chiplist li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mk-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Featured readiness card: copy + an aside with the three things the
   readiness summary collects (from the card's own text) and the supported
   financing needs. Stacks on phones, side by side from 992px. */
.mk-site .mk-card--featured__aside {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mk-radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.mk-site .mk-card--featured__aside .mk-card__sublabel:first-child {
  margin-top: 0;
}

.mk-site .mk-card--featured__summary {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-card--featured__summary li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .mk-site .mk-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-site .mk-card--featured,
  .mk-site .mk-bento > .mk-card:last-child {
    grid-column: 1 / -1;
  }
}

/* 12-col bento: featured as a full-width band, then the three analysis
   products in one row (4 each) and the four process/data cards (3 each). */
@media (min-width: 992px) {
  .mk-site .mk-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .mk-site .mk-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }

  .mk-site .mk-bento > .mk-card:nth-child(n + 2):nth-child(-n + 4) {
    grid-column: span 4;
    padding: 26px 28px;
  }

  .mk-site .mk-bento > .mk-card:nth-child(n + 2):nth-child(-n + 4) .mk-card__title {
    margin-top: 16px;
  }

  .mk-site .mk-bento > .mk-card:nth-child(n + 5),
  .mk-site .mk-bento > .mk-card:last-child {
    grid-column: span 3;
  }
}

@media (min-width: 1200px) {
  .mk-site .mk-card--featured {
    gap: 64px;
    padding: 40px;
  }

  .mk-site .mk-card--featured__aside {
    padding: 28px 32px;
  }
}

/* How it works */
.mk-site .mk-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-steps__item {
  position: relative;
  padding: 28px 24px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 0.35s var(--mk-ease), background-color 0.35s var(--mk-ease), transform 0.35s var(--mk-ease);
}

.mk-site .mk-steps__item:hover {
  border-color: rgba(156, 192, 255, 0.35);
  transform: translateY(-4px);
}

.mk-site .mk-steps__num {
  display: block;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #d6e6ff 0%, rgba(111, 158, 245, 0.85) 55%, rgba(60, 200, 236, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mk-blue-300);
}

.mk-site .mk-steps__title {
  margin-top: 22px;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
}

.mk-site .mk-steps__text {
  margin-top: 8px;
  color: var(--mk-on-dark-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

.mk-site .mk-how__cta {
  margin-top: 48px;
  text-align: center;
}

@media (min-width: 640px) {
  .mk-site .mk-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-site .mk-steps__item:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .mk-site .mk-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mk-site .mk-steps__item:last-child {
    grid-column: auto;
  }

  .mk-site .mk-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -15px;
    width: 14px;
    height: 2px;
    background: linear-gradient(90deg, rgba(147, 182, 247, 0.6), rgba(147, 182, 247, 0.1));
  }
}

/* Intelligence split */
.mk-site .mk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.mk-site .mk-split .mk-section-head {
  margin-bottom: 0;
}

.mk-site .mk-principles {
  display: grid;
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-principles__item {
  display: flex;
  gap: 16px;
}

.mk-site .mk-principles__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mk-ink);
}

.mk-site .mk-principles__text {
  margin-top: 4px;
  color: var(--mk-muted);
  line-height: 1.6;
}

.mk-site .mk-glow-frame {
  position: relative;
}

.mk-site .mk-glow-frame::before {
  content: "";
  position: absolute;
  inset: 6% -4% -6% 8%;
  border-radius: var(--mk-radius-xl);
  background: radial-gradient(ellipse at 60% 50%, rgba(60, 200, 236, 0.4) 0%, rgba(90, 143, 240, 0.28) 45%, transparent 72%);
  filter: blur(40px);
}

.mk-site .mk-shot--tilt {
  border-color: var(--mk-line);
}

@media (min-width: 992px) {
  .mk-site .mk-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .mk-site .mk-shot--tilt {
    transform: perspective(1800px) rotateY(-9deg) rotateX(3deg);
    transition: transform 0.8s var(--mk-ease);
  }

  .mk-site .mk-glow-frame:hover .mk-shot--tilt {
    transform: perspective(1800px) rotateY(-3deg) rotateX(1deg);
  }
}

/* V1.1: intelligence principle icons carry the signal tint (graphic, not text). */
.mk-site .mk-intel .mk-icon-tile {
  border-color: #bdebf7;
  background: linear-gradient(180deg, #fff 0%, var(--mk-signal-100) 100%);
  color: var(--mk-signal-600);
  box-shadow: 0 8px 20px -12px rgba(14, 143, 180, 0.55);
}

/* Data hub */
.mk-site .mk-data {
  overflow: hidden;
  padding-top: 0;
}

.mk-site .mk-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.mk-site .mk-hub__sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-hub__source {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--mk-line);
  border-radius: 22px;
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site .mk-hub__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mk-ink);
}

.mk-site .mk-hub__text {
  margin-top: 4px;
  color: var(--mk-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mk-site .mk-hub__core {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 12px auto;
}

.mk-site .mk-hub__orbit {
  position: absolute;
  border: 1px dashed rgba(20, 84, 200, 0.28);
  border-radius: 50%;
  animation: mk-spin 48s linear infinite;
}

.mk-site .mk-hub__orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--mk-signal-600);
  box-shadow: 0 0 0 5px rgba(14, 143, 180, 0.15), 0 0 16px rgba(60, 200, 236, 0.75);
}

.mk-site .mk-hub__orbit--outer {
  inset: 0;
}

.mk-site .mk-hub__orbit--inner {
  border-color: rgba(14, 143, 180, 0.32);
  inset: 17%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.mk-site .mk-hub__center {
  position: absolute;
  inset: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(20, 84, 200, 0.05), var(--mk-shadow-glow);
  color: var(--mk-navy-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.mk-site .mk-hub__center img {
  width: auto;
  height: 40%;
}

.mk-site .mk-hub__soon {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 30px 28px 26px;
  border: 1.5px dashed var(--mk-blue-200);
  border-radius: 24px;
  background: linear-gradient(90deg, var(--mk-blue-50) 0%, #fff 100%);
}

.mk-site .mk-hub__soon .mk-badge-soon {
  position: absolute;
  top: -13px;
  left: 24px;
}

.mk-site .mk-hub__soon .mk-icon-tile {
  grid-row: span 2;
}

@media (min-width: 640px) {
  .mk-site .mk-hub__sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mk-site .mk-hub {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 32px 48px;
  }

  .mk-site .mk-hub__soon {
    grid-column: 1 / -1;
  }
}

/* Security */
.mk-site .mk-security__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-security__item {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: border-color 0.35s var(--mk-ease), transform 0.35s var(--mk-ease);
}

.mk-site .mk-security__item:hover {
  border-color: rgba(156, 192, 255, 0.32);
  transform: translateY(-3px);
}

.mk-site .mk-security__title {
  margin-top: 20px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
}

.mk-site .mk-security__text {
  margin-top: 6px;
  color: var(--mk-on-dark-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

.mk-site .mk-security__link {
  margin-top: 40px;
  text-align: center;
}

@media (min-width: 640px) {
  .mk-site .mk-security__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mk-site .mk-security__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobile (reserved, not rendered while disabled) */
.mk-site .mk-mobile__card {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-xl);
  background: var(--mk-surface);
}

.mk-site .mk-mobile__copy .mk-badge-soon {
  margin-right: 10px;
}

.mk-site .mk-mobile__device {
  justify-self: center;
  width: 200px;
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 34px;
  background: var(--mk-navy-900);
}

.mk-site .mk-mobile__screen {
  display: block;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--mk-blue-50), var(--mk-blue-100));
}

@media (min-width: 768px) {
  .mk-site .mk-mobile__card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

/* FAQ layout + accordion (generic; homepage FAQ uses the accordion macro) */
.mk-site .mk-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.mk-site .mk-faq__head .mk-section-head {
  margin-bottom: 20px;
}

.mk-site .mk-accordion {
  padding: 8px clamp(20px, 3vw, 36px);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site .mk-accordion__item + .mk-accordion__item {
  border-top: 1px solid var(--mk-line);
}

.mk-site .mk-accordion__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--mk-ink);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.mk-site .mk-accordion__q::-webkit-details-marker {
  display: none;
}

.mk-site .mk-accordion__q::marker {
  content: "";
}

.mk-site .mk-accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--mk-line-strong);
  border-radius: 50%;
  transition: background-color 0.25s var(--mk-ease), border-color 0.25s var(--mk-ease), transform 0.3s var(--mk-ease);
}

.mk-site .mk-accordion__icon::before,
.mk-site .mk-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--mk-ink-2);
  transition: transform 0.3s var(--mk-ease), background-color 0.25s var(--mk-ease);
}

.mk-site .mk-accordion__icon::after {
  transform: rotate(90deg);
}

.mk-site .mk-accordion__item[open] .mk-accordion__icon {
  border-color: var(--mk-blue-600);
  background: var(--mk-blue-600);
  transform: rotate(180deg);
}

.mk-site .mk-accordion__item[open] .mk-accordion__icon::before,
.mk-site .mk-accordion__item[open] .mk-accordion__icon::after {
  background: #fff;
}

.mk-site .mk-accordion__item[open] .mk-accordion__icon::after {
  transform: rotate(0deg);
}

.mk-site .mk-accordion__a {
  padding: 0 52px 24px 0;
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-site .mk-accordion__item[open] .mk-accordion__a {
  animation: mk-fade-in 0.35s var(--mk-ease);
}

@media (min-width: 992px) {
  .mk-site .mk-faq__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
    gap: 64px;
    align-items: start;
  }

  .mk-site .mk-faq__head {
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 575.98px) {
  .mk-site .mk-accordion__a {
    padding-right: 0;
  }
}

/* CTA */
.mk-site .mk-cta {
  padding-top: 0;
}

.mk-site .mk-cta__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
  border-radius: var(--mk-radius-xl);
  background: var(--mk-gradient-dark);
  color: #fff;
  text-align: center;
}

.mk-site .mk-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.mk-site .mk-cta__bg .mk-hero__glow--a {
  top: -260px;
  right: 50%;
  margin-right: -260px;
}

.mk-site .mk-cta__bg .mk-hero__glow--c {
  top: auto;
  right: -80px;
  bottom: -200px;
}

.mk-site .mk-cta__title {
  max-width: 16em;
  text-wrap: balance;
  margin: 0 auto;
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.mk-site .mk-cta__text {
  max-width: 36em;
  margin: 20px auto 0;
  color: var(--mk-on-dark-soft);
  font-size: 1.1rem;
}

.mk-site .mk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.mk-site .mk-cta__contact {
  margin-top: 24px;
}

@media (max-width: 575.98px) {
  .mk-site .mk-cta__actions .mk-btn {
    flex: 1 1 100%;
  }

  .mk-site .mk-cta__card {
    border-radius: 28px;
  }
}

/* ---- Footer ------------------------------------------------------------- */
.mk-site .mk-footer {
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--mk-line);
  background: var(--mk-surface);
  color: var(--mk-ink-2);
}

.mk-site .mk-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}

.mk-site .mk-footer__brand {
  grid-column: 1 / -1;
}

.mk-site .mk-brand--footer {
  color: var(--mk-navy-900);
}

.mk-site .mk-footer__tagline {
  max-width: 22em;
  margin-top: 16px;
  color: var(--mk-muted);
}

.mk-site .mk-footer__social {
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mk-line-strong);
  border-radius: 50%;
  color: var(--mk-ink-2);
  transition: background-color 0.25s var(--mk-ease), color 0.25s var(--mk-ease), border-color 0.25s var(--mk-ease);
}

.mk-site .mk-footer__social a:hover {
  border-color: var(--mk-navy-900);
  background: var(--mk-navy-900);
  color: #fff;
}

.mk-site .mk-footer__title {
  margin-bottom: 16px;
  color: var(--mk-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mk-site .mk-footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-footer__col a,
.mk-site .mk-footer__linkbtn {
  color: var(--mk-ink-2);
  font-weight: 500;
  transition: color 0.2s var(--mk-ease);
}

.mk-site .mk-footer__linkbtn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.mk-site .mk-footer__col a:hover,
.mk-site .mk-footer__linkbtn:hover {
  color: var(--mk-blue-600);
}

.mk-site .mk-footer__bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 24px 0 28px;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-subtle);
  font-size: 0.88rem;
}

/* Five link columns (Platform, Kurumsal, Yasal, Sözleşmeler, Haberler): 2 -> 3 -> brand + 5. */
@media (min-width: 768px) {
  .mk-site .mk-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .mk-site .mk-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .mk-site .mk-footer__brand {
    grid-column: auto;
  }
}

/* ---- Header: active page (aria-current="page") -------------------------- */
.mk-site .mk-nav__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mk-site .mk-header.is-solid .mk-nav__link.is-active {
  background: var(--mk-blue-50);
  color: var(--mk-blue-700);
}

@media (max-width: 1099.98px) {
  /* the mobile menu is always a light panel */
  .mk-site .mk-header .mk-nav .mk-nav__link.is-active {
    background: var(--mk-blue-50);
    color: var(--mk-blue-700);
  }
}

/* ==========================================================================
   Wave 1 shared components (macros in app/templates/marketing/_macros.html)
   ========================================================================== */

/* Screen-reader-only text. Also covers Bootstrap's .visually-hidden, which
   shared partials rely on (e.g. the public form honeypot) -- it must never
   become visible on marketing pages, hence !important like Bootstrap. */
.mk-site .visually-hidden,
.mk-site .mk-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Page hero (inner public pages) */
.mk-site .mk-page-hero {
  padding: 16px 16px 0;
}

.mk-site .mk-page-hero__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(120px, 12vw, 156px) 0 clamp(48px, 6vw, 76px);
  border-radius: var(--mk-radius-xl);
  background: var(--mk-gradient-dark);
  color: #fff;
  text-align: center;
}

.mk-site .mk-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.mk-site .mk-page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mk-site .mk-page-hero__title {
  max-width: 18em;
  margin-top: 20px;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}

.mk-site .mk-page-hero__text {
  max-width: 42em;
  margin-top: 18px;
  color: var(--mk-on-dark-soft);
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.18rem);
  line-height: 1.65;
}

.mk-site .mk-page-hero__extra {
  margin-top: 28px;
}

@media (max-width: 767.98px) {
  .mk-site .mk-page-hero {
    padding: 10px 10px 0;
  }

  .mk-site .mk-page-hero__panel {
    border-radius: 28px;
  }
}

/* Document layout: optional TOC column + prose */
.mk-site .mk-doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  /* block padding only: the element is usually also a .mk-container, whose
     horizontal gutter must survive */
  padding-block: clamp(40px, 6vw, 72px) var(--mk-section-y);
}

@media (min-width: 992px) {
  .mk-site .mk-doc--with-toc {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .mk-site .mk-doc--with-toc .mk-toc {
    position: sticky;
    top: 112px;
  }
}

/* Prose: typography for long text, incl. sanitized legal/SEO HTML */
.mk-site .mk-prose {
  max-width: 72ch;
  color: var(--mk-ink-2);
  font-size: 1.02rem;
  line-height: 1.75;
}

.mk-site .mk-prose > :first-child {
  margin-top: 0;
}

.mk-site .mk-prose h2,
.mk-site .mk-prose h3,
.mk-site .mk-prose h4 {
  scroll-margin-top: 112px;
  color: var(--mk-ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.mk-site .mk-prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.55rem;
}

.mk-site .mk-prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.22rem;
}

.mk-site .mk-prose h4 {
  margin: 1.5em 0 0.4em;
  font-size: 1.05rem;
}

.mk-site .mk-prose p {
  margin: 0 0 1.1em;
}

.mk-site .mk-prose ul,
.mk-site .mk-prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}

.mk-site .mk-prose li {
  margin: 0.35em 0;
}

.mk-site .mk-prose a {
  color: var(--mk-blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-site .mk-prose a:hover {
  color: var(--mk-blue-700);
}

.mk-site .mk-prose strong {
  color: var(--mk-ink);
}

.mk-site .mk-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--mk-blue-200);
  color: var(--mk-muted);
}

.mk-site .mk-prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--mk-line);
}

/* Table of contents */
.mk-site .mk-toc {
  padding: 20px 22px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-md);
  background: var(--mk-surface);
}

.mk-site .mk-toc__title {
  margin-bottom: 10px;
  color: var(--mk-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mk-site .mk-toc__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-toc__link {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--mk-ink-2);
  font-size: 0.93rem;
  line-height: 1.4;
  transition: background-color 0.2s var(--mk-ease), color 0.2s var(--mk-ease);
}

.mk-site .mk-toc__link:hover {
  background: var(--mk-blue-50);
  color: var(--mk-blue-700);
}

/* Forms */
.mk-site .mk-form {
  display: grid;
  gap: 18px;
}

.mk-site .mk-field {
  display: grid;
  gap: 6px;
}

.mk-site .mk-field__label {
  color: var(--mk-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.mk-site .mk-field__req {
  color: #b42318;
}

.mk-site .mk-input,
.mk-site .mk-field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--mk-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--mk-ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s var(--mk-ease), box-shadow 0.2s var(--mk-ease);
}

.mk-site .mk-field textarea {
  min-height: 140px;
  resize: vertical;
}

.mk-site .mk-input:focus,
.mk-site .mk-field :is(input, select, textarea):focus {
  border-color: var(--mk-blue-500);
  outline: none;
  box-shadow: 0 0 0 4px rgba(43, 107, 224, 0.18);
}

.mk-site .mk-field.is-invalid :is(input, select, textarea) {
  border-color: #d92d20;
}

.mk-site .mk-field__help {
  color: var(--mk-muted);
  font-size: 0.88rem;
}

.mk-site .mk-field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Tables */
.mk-site .mk-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-md);
  background: var(--mk-surface);
}

.mk-site .mk-table,
.mk-site .mk-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mk-site .mk-table th,
.mk-site .mk-prose th {
  padding: 12px 16px;
  background: #f6f8fb;
  color: var(--mk-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.mk-site .mk-table td,
.mk-site .mk-prose td {
  padding: 14px 16px;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-ink-2);
  vertical-align: top;
}

.mk-site .mk-table .is-num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mk-site .mk-prose table {
  display: block;
  overflow-x: auto;
  margin: 0 0 1.4em;
}

/* Segmented control (link group) */
.mk-site .mk-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: var(--mk-radius-pill);
  background: rgba(6, 22, 49, 0.06);
}

.mk-site .mk-segmented__item {
  padding: 8px 18px;
  border-radius: var(--mk-radius-pill);
  color: var(--mk-ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s var(--mk-ease), color 0.2s var(--mk-ease);
}

.mk-site .mk-segmented__item:hover {
  color: var(--mk-ink);
}

.mk-site .mk-segmented__item.is-active {
  background: #fff;
  color: var(--mk-navy-900);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site .mk-page-hero .mk-segmented {
  background: rgba(255, 255, 255, 0.1);
}

.mk-site .mk-page-hero .mk-segmented__item {
  color: var(--mk-on-dark-soft);
}

.mk-site .mk-page-hero .mk-segmented__item.is-active {
  color: var(--mk-navy-900);
}

/* Pagination */
.mk-site .mk-pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mk-site .mk-pagination__link,
.mk-site .mk-pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  font-weight: 600;
}

.mk-site .mk-pagination__link {
  border: 1px solid var(--mk-line-strong);
  background: #fff;
  color: var(--mk-ink-2);
  transition: border-color 0.2s var(--mk-ease), color 0.2s var(--mk-ease);
}

.mk-site .mk-pagination__link:hover {
  border-color: var(--mk-blue-500);
  color: var(--mk-blue-700);
}

.mk-site .mk-pagination__link.is-current {
  border-color: var(--mk-navy-900);
  background: var(--mk-navy-900);
  color: #fff;
}

.mk-site .mk-pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.mk-site .mk-pagination__gap {
  color: var(--mk-subtle);
}

/* Alerts (text stays dark; the tone is carried by border, tint and icon) */
.mk-site .mk-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--mk-blue-200);
  border-radius: 14px;
  background: var(--mk-blue-50);
  color: var(--mk-ink);
}

.mk-site .mk-alert__icon {
  flex: none;
  padding-top: 2px;
  color: var(--mk-blue-600);
}

.mk-site .mk-alert__body {
  flex: 1 1 auto;
  line-height: 1.55;
}

.mk-site .mk-alert__title {
  font-weight: 700;
}

.mk-site .mk-alert__close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mk-ink-2);
  cursor: pointer;
}

.mk-site .mk-alert__close:hover {
  background: rgba(6, 22, 49, 0.06);
}

.mk-site .mk-alert--success {
  border-color: #b7e4c7;
  background: #effaf3;
}

.mk-site .mk-alert--success .mk-alert__icon {
  color: var(--mk-positive-600);
}

.mk-site .mk-alert--warning {
  border-color: #f1d5b0;
  background: #fff8ef;
}

.mk-site .mk-alert--warning .mk-alert__icon {
  color: var(--mk-caution-600);
}

.mk-site .mk-alert--danger {
  border-color: #f5c2c0;
  background: #fff1f0;
}

.mk-site .mk-alert--danger .mk-alert__icon {
  color: #b42318;
}

/* ---- Motion ------------------------------------------------------------- */
.mk-js .mk-site [data-mk-reveal] {
  transition:
    opacity 0.8s var(--mk-ease),
    transform 0.8s var(--mk-ease);
}

.mk-js .mk-site [data-mk-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

@keyframes mk-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mk-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}

@keyframes mk-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes mk-spin {
  to { transform: rotate(360deg); }
}

@keyframes mk-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html.mk-root {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-site *,
  .mk-site *::before,
  .mk-site *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .mk-js .mk-site [data-mk-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .mk-site .mk-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .mk-site .mk-marquee__track {
    width: auto;
    justify-content: center;
  }

  .mk-site .mk-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 32px;
    padding: 0 var(--mk-gutter);
  }

  .mk-site .mk-marquee__list[aria-hidden="true"] {
    display: none;
  }

  .mk-site .mk-shot--tilt,
  .mk-site .mk-glow-frame:hover .mk-shot--tilt {
    transform: none;
  }
}
