/* =========================================================================
   SYSMarshal platform & solution pages (Nov 2026)
   /platform, /platform/{pillar}, /solutions, /solutions/{slug}, /who-its-for
   Views: Themes/Flexo/Views/Marketing/*.cshtml  ·  Copy: SYSMarshal/MarketingPages.cs

   Everything is scoped under .mk so the Flexo theme rules and the
   "readability hardening" block in styles.css never reach these pages.
   Same house language as the home, docs and FAQ pages: near-black panels,
   Inter + JetBrains Mono, #4ab2f1 accent. Each pillar adds its own colour
   (--pc) used for icon tiles, step numbers and the hero glow.
   No backdrop-filter / blend modes: they repaint on scroll on weak GPUs.
   ========================================================================= */

.mk {
  --bg: #070a0f;
  --bg-2: #0a0f17;
  --panel: #0f151e;
  --panel-2: #131b26;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.13);
  --white: #ffffff;
  --text: #c3cdd9;
  --dim: #8d99aa;
  --faint: #5f6b7b;
  --accent: #4ab2f1;
  --accent-2: #22d3ee;
  --detect: #4ab2f1;
  --defend: #2fd47e;
  --investigate: #a78bfa;
  --adapt: #f5a524;
  --pc: var(--accent);
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --radius: 16px;

  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
.mk.p-detect { --pc: var(--detect); }
.mk.p-defend { --pc: var(--defend); }
.mk.p-investigate { --pc: var(--investigate); }
.mk.p-adapt { --pc: var(--adapt); }

.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk a { color: inherit; text-decoration: none; }
.mk p a, .mk td a, .mk .mk-faq-a a, .mk .mk-card p a { color: #8fd0ff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(143,208,255,.4); }
.mk p a:hover, .mk td a:hover, .mk .mk-faq-a a:hover { text-decoration-color: currentColor; }
.mk a:focus-visible, .mk button:focus-visible, .mk summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mk h1, .mk h2, .mk h3, .mk h4 {
  font-family: var(--sans); color: var(--white); margin: 0; text-transform: none;
  letter-spacing: -.02em; text-wrap: balance; font-weight: 700;
}
.mk p { margin: 0; }
.mk ul, .mk ol { margin: 0; padding: 0; list-style: none; }
.mk code {
  font-family: var(--mono); font-size: .86em; color: #9ad6ff;
  background: rgba(74,178,241,.1); padding: 2px 7px; border-radius: 5px; overflow-wrap: anywhere;
}
.mk svg { display: block; }
.mk .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mk-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }

/* ---------- Buttons ---------- */
.mk-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mk-btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.mk-btn-primary { background: linear-gradient(135deg, #4ab2f1, #22d3ee); color: #04111c !important; box-shadow: 0 10px 30px -12px rgba(74,178,241,.7); }
.mk-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(74,178,241,.85); }
.mk-btn-ghost { border-color: var(--line-2); color: var(--white) !important; background: rgba(255,255,255,.03); }
.mk-btn-ghost:hover { border-color: rgba(74,178,241,.6); background: rgba(74,178,241,.08); }

/* ---------- Hero ---------- */
.mk-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 82% -8%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 62%),
    radial-gradient(700px 380px at -5% 15%, rgba(34,211,238,.08), transparent 60%),
    var(--bg-2);
  padding-block: 34px 56px;
}
.mk-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0/56px 56px;
  -webkit-mask-image: radial-gradient(1000px 520px at 65% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(1000px 520px at 65% 0%, #000 25%, transparent 78%);
}
.mk-hero .mk-wrap { position: relative; z-index: 1; }
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 34px; }
.mk-crumbs a:hover { color: var(--white); }
.mk-crumbs span[aria-current] { color: var(--text); }
.mk-crumbs .sep { color: var(--faint); }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; }
.mk-hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mk-eyebrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pc); padding: 7px 14px 7px 11px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent);
  background: color-mix(in srgb, var(--pc) 10%, transparent);
}
.mk-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 12px var(--pc); }
.mk-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.mk-hero h1 .grad, .mk .grad {
  background: linear-gradient(92deg, var(--pc), #22d3ee 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.62; color: #b9c5d3; max-width: 64ch; }
.mk-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--dim); }
.mk-trust span { display: inline-flex; align-items: center; gap: 7px; }
.mk-trust .ico { width: 15px; height: 15px; color: var(--defend); stroke-width: 2.4; }

/* Emblem: a calm, cheap visual for the pillar - rings + icon. */
.mk-emblem { position: relative; width: 300px; height: 300px; justify-self: end; }
.mk-emblem .ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent); }
.mk-emblem .r1 { inset: 0; border-style: dashed; animation: mk-spin 60s linear infinite; }
.mk-emblem .r2 { inset: 38px; border-color: color-mix(in srgb, var(--pc) 45%, transparent); }
.mk-emblem .r3 { inset: 78px; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%); border-color: color-mix(in srgb, var(--pc) 60%, transparent); }
.mk-emblem .core {
  position: absolute; inset: 112px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 38%, #0d131c), #0d131c);
  border: 1px solid color-mix(in srgb, var(--pc) 70%, transparent);
  box-shadow: 0 0 60px -10px var(--pc); color: var(--white);
}
.mk-emblem .core .ico { width: 36px; height: 36px; stroke-width: 1.7; }
.mk-emblem .dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 14px var(--pc); }
.mk-emblem .d1 { top: 14%; left: 20%; } .mk-emblem .d2 { top: 70%; right: 6%; } .mk-emblem .d3 { bottom: 4%; left: 42%; opacity: .6; }
@keyframes mk-spin { to { transform: rotate(360deg); } }

/* Stats under the hero */
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.mk-stat { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.mk-stat b { display: block; font-family: var(--mono); font-size: clamp(19px, 2.1vw, 26px); font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.2; }
.mk-stat span { display: block; font-size: 13px; color: var(--dim); line-height: 1.45; margin-top: 4px; }

/* ---------- Pillar strip ---------- */
.mk-strip { border-bottom: 1px solid var(--line); background: #080c12; }
.mk-strip .mk-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 16px; }
.mk-strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.mk-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dim);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); transition: color .15s, border-color .15s, background .15s;
}
.mk-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mk-chip:hover { color: var(--white); border-color: var(--line-2); }
.mk-chip.on { color: var(--white); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }

/* ---------- Sections ---------- */
.mk-sec { padding-block: 76px; border-bottom: 1px solid var(--line); }
.mk-sec.alt { background: var(--bg-2); }
.mk-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 38px; }
.mk-head.center { margin-inline: auto; text-align: center; align-items: center; }
.mk-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pc); }
.mk-head h2 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.14; }
.mk-head p { font-size: 17px; color: var(--dim); line-height: 1.6; }

/* Problem */
.mk-problem { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.mk-prose { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: #b8c4d2; }
.mk-callout {
  position: relative; padding: 26px 26px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 12%, var(--panel)), var(--panel));
  border: 1px solid color-mix(in srgb, var(--pc) 35%, transparent);
  font-size: 16px; color: #d8e1ec; line-height: 1.6;
}
.mk-callout .ico { width: 26px; height: 26px; color: var(--pc); margin-bottom: 14px; }

/* Steps - a real sequence, so numbered */
.mk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: mk-step; position: relative; }
.mk-step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mk-step::before {
  counter-increment: mk-step; content: "0" counter(mk-step);
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--pc); letter-spacing: .1em;
}
.mk-step .ico { width: 26px; height: 26px; color: var(--white); }
.mk-step h3 { font-size: 19px; }
.mk-step p { font-size: 15px; color: var(--dim); line-height: 1.6; }
.mk-step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: -13px; width: 10px; height: 10px;
  border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg);
}

/* Feature cards */
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.mk-card:hover { border-color: color-mix(in srgb, var(--pc) 40%, transparent); transform: translateY(-3px); }
.mk-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--white);
  background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 45%, #121a25), color-mix(in srgb, var(--pc) 12%, #121a25));
  border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent);
}
.mk-card h3 { font-size: 18px; line-height: 1.3; }
.mk-card p { font-size: 15px; color: var(--dim); line-height: 1.62; }

/* Reference table */
.mk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mk-table th { text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; padding: 14px 20px; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); white-space: nowrap; }
.mk-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: #b8c4d2; line-height: 1.55; }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-table td:first-child { font-family: var(--mono); font-size: 14px; color: var(--white); white-space: nowrap; font-weight: 500; }
.mk-table tr:hover td { background: rgba(255,255,255,.015); }

/* AI scan groups */
.mk-scans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.mk-scans.mt { margin-top: 18px; }
.mk-group { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.mk-group-head h3 { font-size: 18px; }
.mk-group-head span { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; }
.mk-group > p { font-size: 14px; color: var(--dim); }
.mk-scan { display: flex; flex-direction: column; gap: 2px; }
.mk-scan b { color: var(--white); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mk-scan b::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--investigate); flex: none; }
.mk-scan span { font-size: 13.5px; color: var(--dim); line-height: 1.5; padding-left: 14px; }
.mk-note { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* FAQ */
.mk-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.mk-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s; }
.mk-faq details[open] { border-color: color-mix(in srgb, var(--pc) 35%, transparent); }
.mk-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--white);
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--pc); line-height: 1; transition: transform .2s; flex: none; }
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq-a { padding: 0 22px 20px; font-size: 15.5px; color: #b2becd; line-height: 1.65; max-width: 74ch; }

/* Related pages */
.mk-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mk-rel {
  --pc: var(--accent);
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  transition: border-color .2s, transform .2s;
}
.mk-rel:hover { border-color: color-mix(in srgb, var(--pc) 50%, transparent); transform: translateY(-3px); }
.mk-rel .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pc); }
.mk-rel h3 { font-size: 16.5px; line-height: 1.3; }
.mk-rel p { font-size: 14px; color: var(--dim); line-height: 1.5; }
.mk-rel .go { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.mk-rel .go .ico { width: 15px; height: 15px; stroke-width: 2.4; transition: transform .2s; }
.mk-rel:hover .go .ico { transform: translateX(3px); }
.mk-rel.p-detect, .mk-hub-card.p-detect { --pc: var(--detect); }
.mk-rel.p-defend, .mk-hub-card.p-defend { --pc: var(--defend); }
.mk-rel.p-investigate, .mk-hub-card.p-investigate { --pc: var(--investigate); }
.mk-rel.p-adapt, .mk-hub-card.p-adapt { --pc: var(--adapt); }

/* CTA band */
.mk-cta { padding-block: 80px; }
.mk-cta-box {
  position: relative; overflow: hidden; border-radius: 22px; padding: 52px 48px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(74,178,241,.16), transparent 60%),
    linear-gradient(160deg, #0f1824, #0b1119);
  border: 1px solid rgba(74,178,241,.3);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.mk-cta-box h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.mk-cta-box p { color: #b5c1cf; font-size: 16.5px; margin-top: 12px; max-width: 58ch; }
.mk-cta-box small { display: block; margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------- Hub & overview pages ---------- */
.mk-hero.big h1 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; }
.mk-tagline { display: flex; flex-wrap: wrap; gap: .1em .32em; }
.mk-tagline span:nth-child(1) { color: var(--detect); }
.mk-tagline span:nth-child(2) { color: var(--defend); }
.mk-tagline span:nth-child(3) { color: var(--investigate); }
.mk-tagline span:nth-child(4) { color: var(--adapt); }

.mk-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mk-pillar {
  --pc: var(--c);
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px;
  border-top: 3px solid var(--c); transition: transform .2s, border-color .2s, background .2s;
}
.mk-pillar:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--c) 6%, var(--panel)); }
.mk-pillar h3 { font-size: 26px; color: var(--c); }
.mk-pillar .promise { color: var(--white); font-weight: 600; font-size: 16px; line-height: 1.4; }
.mk-pillar p { font-size: 14.5px; color: var(--dim); line-height: 1.6; }
.mk-pillar .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.mk-pillar .go .ico { width: 16px; height: 16px; stroke-width: 2.4; }

.mk-life { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.mk-life::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--detect), var(--defend), var(--investigate), var(--adapt)); opacity: .45; }
.mk-stage { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-stage .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; color: var(--white); background: #0d141e; border: 2px solid var(--line-2); position: relative; z-index: 1; }
.mk-stage h3 { font-size: 17px; margin-top: 6px; }
.mk-stage p { font-size: 14px; color: var(--dim); line-height: 1.55; }
.mk-stage .modes { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.mk-mode { font-size: 12.5px; font-weight: 600; color: #dbe4ee; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.03); border-left: 3px solid var(--c); line-height: 1.35; }
.mk-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 30px; font-size: 13.5px; color: var(--dim); }
.mk-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mk-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }

.mk-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mk-compare > div { border-radius: var(--radius); padding: 28px; min-width: 0; }
.mk-compare .old { background: rgba(255,255,255,.02); border: 1px dashed var(--line-2); }
.mk-compare .new { background: linear-gradient(160deg, rgba(74,178,241,.1), var(--panel)); border: 1px solid rgba(74,178,241,.4); }
.mk-compare h3 { font-size: 19px; margin-bottom: 16px; }
.mk-compare li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.mk-compare li:last-child { border-bottom: 0; }
.mk-compare .old li { color: var(--dim); }
.mk-compare .new li { color: #d6dfea; }
.mk-compare li .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 2.2; }
.mk-compare .old li .ico { color: var(--faint); }
.mk-compare .new li .ico { color: var(--defend); }

.mk-hub { display: flex; flex-direction: column; gap: 34px; }
.mk-hub-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.mk-hub-label { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 90px; }
.mk-hub-label b { font-size: 22px; color: var(--c); font-weight: 700; letter-spacing: -.02em; }
.mk-hub-label span { font-size: 14px; color: var(--dim); line-height: 1.5; }
.mk-hub-label a { font-size: 13.5px; font-weight: 600; color: var(--white); margin-top: 4px; }
.mk-hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mk-hub-card {
  display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; transition: border-color .2s, transform .2s; min-width: 0;
}
.mk-hub-card:hover { border-color: color-mix(in srgb, var(--pc) 50%, transparent); transform: translateY(-3px); }
.mk-hub-card .mk-tile { flex: none; }
.mk-hub-card h3 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.mk-hub-card p { font-size: 14px; color: var(--dim); line-height: 1.55; }

.mk-aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mk-aud-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mk-aud-card .top { display: flex; align-items: center; gap: 14px; }
.mk-aud-card h2 { font-size: 22px; }
.mk-aud-card .pain { font-size: 15.5px; color: #b8c4d2; line-height: 1.6; }
.mk-aud-card ul { display: flex; flex-direction: column; gap: 9px; }
.mk-aud-card li { display: flex; gap: 10px; font-size: 15px; color: #d0d9e4; line-height: 1.5; }
.mk-aud-card li .ico { width: 17px; height: 17px; flex: none; color: var(--defend); margin-top: 3px; stroke-width: 2.4; }
.mk-aud-card .links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.mk-aud-card .links a { font-size: 13px; font-weight: 600; color: var(--white); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.mk-aud-card .links a:hover { border-color: rgba(74,178,241,.6); background: rgba(74,178,241,.08); }

.mk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mk-fact { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.mk-fact b { display: block; font-family: var(--mono); font-size: 22px; color: var(--white); font-weight: 600; letter-spacing: -.02em; }
.mk-fact span { display: block; font-size: 14px; color: var(--dim); margin-top: 6px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mk-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-emblem { display: none; }
  .mk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-step:not(:last-child)::after { display: none; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-life { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .mk-life::before { display: none; }
  .mk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .mk-problem, .mk-compare, .mk-aud { grid-template-columns: minmax(0, 1fr); }
  .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-hub-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mk-hub-label { position: static; }
  .mk-cta-box { grid-template-columns: minmax(0, 1fr); padding: 36px 26px; }
  .mk-sec { padding-block: 56px; }
}
@media (max-width: 560px) {
  .mk-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .mk-steps, .mk-grid, .mk-related, .mk-pillars, .mk-life, .mk-facts { grid-template-columns: minmax(0, 1fr); }
  .mk-hero { padding-block: 24px 44px; }
  .mk-crumbs { margin-bottom: 24px; }
  .mk-btn { width: 100%; justify-content: center; }
  .mk-table td:first-child { white-space: normal; }
  .mk-table th, .mk-table td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-emblem .r1 { animation: none; }
  .mk-card, .mk-rel, .mk-pillar, .mk-hub-card, .mk-btn { transition: none; }
  .mk-card:hover, .mk-rel:hover, .mk-pillar:hover, .mk-hub-card:hover, .mk-btn-primary:hover { transform: none; }
}

/* Pillar colour on any element inside a page (cards, sections, hub rows). */
.mk .p-detect { --pc: var(--detect); }
.mk .p-defend { --pc: var(--defend); }
.mk .p-investigate { --pc: var(--investigate); }
.mk .p-adapt { --pc: var(--adapt); }
