/* ============================================================
   Solves - marketing component kit (tokens.css + site.css required)
   Section partials assemble pages from these blocks, so the whole
   site shares one look. Namespaced .mk-* to avoid app/site clashes.
   ============================================================ */

/* ---- Layout rhythm ---- */
.mk-section { padding: 72px 0; }
.mk-section.tight { padding: 52px 0; }
.mk-section.tint { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.mk-section.dark { background: #11201a; color: #eaf1ea; }
.mk-section.dark a { color: #bfe6cf; }
.mk-measure { max-width: 74ch; }
.mk-center { text-align: center; margin-left: auto; margin-right: auto; }

.mk-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-text); margin: 0 0 12px; }
.mk-section.dark .mk-kicker { color: #5fbd8b; }
.mk-h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 14px; }
.mk-lead { font-size: 18px; line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 8px; max-width: 64ch; }
.mk-section.dark .mk-lead { color: #b9cdc0; }
.mk-head { max-width: 64ch; margin-bottom: 36px; }

/* ---- Breadcrumbs ---- */
.mk-crumbs { padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; line-height: 1.35; color: var(--color-text-muted); }
.mk-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mk-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.mk-crumbs li::after { content: "/"; color: var(--color-text-faint); margin-left: 8px; }
.mk-crumbs li:last-child::after { content: ""; }
.mk-crumbs a { color: var(--color-text-secondary); text-decoration: none; }
.mk-crumbs a:hover { color: var(--color-primary-text); text-decoration: underline; }
.mk-crumbs [aria-current] { color: var(--color-text); }

/* ---- Page hero (light by default, dark optional) ---- */
.mk-hero { padding: 56px 0 40px; }
.mk-hero.dark { background: #11201a; color: #eaf1ea; padding: 64px 0 56px; position: relative; overflow: hidden; }
.mk-hero.dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg,#000,transparent 85%); -webkit-mask-image: linear-gradient(180deg,#000,transparent 85%); }
.mk-hero .mk-hero-in { position: relative; z-index: 1; max-width: min(100%, 820px); }
.mk-hero.dark .mk-hero-in { max-width: min(100%, 1120px); }
.mk-hero.has-proof .mk-hero-in { max-width: min(100%, 1120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(32px, 5vw, 68px); align-items: center; }
.mk-hero-copy { min-width: 0; }
.mk-hero.dark:not(.has-proof) .mk-hero-copy { max-width: min(100%, 820px); }
.mk-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--color-primary-text); margin-bottom: 14px; }
.mk-hero.dark .eyebrow { color: #5fbd8b; }
.mk-hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 700; margin: 0; color: var(--color-text); }
.mk-hero.dark h1 { color: #f6faf6; }
.mk-hero h1 em { font-style: normal; color: var(--color-primary-text); }
.mk-hero.dark h1 em { color: #5fbd8b; }
.mk-hero .lede { font-size: clamp(16px, 1.9vw, 19px); line-height: 1.6; color: var(--color-text-secondary); margin: 18px 0 0; }
.mk-hero.dark .lede { color: #b9cdc0; }
.mk-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.mk-hero-note { margin-top: 16px; font-size: 13px; color: var(--color-text-muted); }
.mk-hero.dark .mk-hero-note { color: #84a092; }
.mk-hero-proof { border-left: 1px solid rgba(255,255,255,.14); padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.mk-hero-proof span { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #c7dacd; }
.mk-hero-proof span::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #5fbd8b; flex: 0 0 auto; margin-top: 6px; box-shadow: 0 0 0 5px rgba(95,189,139,.08); }

/* ---- Trust strip ---- */
.mk-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.mk-trust .item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 16px 18px; }
.mk-section.dark .mk-trust .item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.mk-trust .item b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.mk-trust .item span { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.mk-section.dark .mk-trust .item span { color: #a8bfb1; }

/* ---- Prose content blocks ---- */
.mk-prose { max-width: 72ch; }
.mk-prose.wide { max-width: 100%; }
.mk-prose h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 8px; }
.mk-prose p { font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); margin: 0 0 14px; }
.mk-section.dark .mk-prose p { color: #b9cdc0; }
.mk-prose ul, .mk-prose ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
.mk-prose ul li, .mk-prose ol li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 15.5px; line-height: 1.6; color: var(--color-text-secondary); }
.mk-prose ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 999px; background: var(--color-primary); }
.mk-prose ol { counter-reset: mk; }
.mk-prose ol li { counter-increment: mk; }
.mk-prose ol li::before { content: counter(mk); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary-text); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mk-prose .lead { font-size: 18px; color: var(--color-text-secondary); line-height: 1.6; }
.mk-prose strong { color: var(--color-text); }

/* Definition table inside prose (e.g. honest pricing facts) */
.mk-deftable { width: 100%; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); overflow: hidden; font-size: 14px; margin: 6px 0 16px; }
.mk-deftable th, .mk-deftable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.mk-deftable tr:last-child th, .mk-deftable tr:last-child td { border-bottom: 0; }
.mk-deftable th { background: var(--color-bg); font-weight: 600; color: var(--color-text); width: 34%; }

/* ---- Feature grid ---- */
.mk-features { display: grid; gap: 16px; }
.mk-features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mk-features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mk-features.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mk-feature { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; }
.mk-section.tint .mk-feature { background: var(--color-bg); }
.mk-feature .ico { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--color-primary-soft); color: var(--color-primary-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; font-weight: 700; font-size: 16px; }
.mk-feature .ico.ico-svg svg { width: 20px; height: 20px; display: block; }
.mk-feature h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.mk-feature p { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }
.mk-feature a.mk-feature-link { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--color-primary-text); text-decoration: none; }
.mk-feature a.mk-feature-link:hover { text-decoration: underline; }

/* ---- Steps (how it works) ---- */
.mk-steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.mk-step { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 22px; }
.mk-step .n { width: 28px; height: 28px; border-radius: 999px; background: var(--color-primary); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mk-step h3 { font-size: 16px; margin: 0 0 6px; }
.mk-step p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* ---- Comparison table (honest, last-verified) ---- */
.mk-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
.mk-cmp { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); overflow: hidden; font-size: 14.5px; }
.mk-cmp th, .mk-cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--color-border); border-left: 1px solid var(--color-border); vertical-align: top; line-height: 1.45; }
.mk-cmp th:first-child, .mk-cmp td:first-child { border-left: 0; font-weight: 600; color: var(--color-text); }
.mk-cmp thead th { background: var(--color-bg); font-size: 13px; }
.mk-cmp thead th.solves { background: var(--color-primary); color: #fff; }
.mk-cmp tbody td.solves { background: #f1faf4; font-weight: 500; }
.mk-cmp .mk-yes { color: var(--color-success); font-weight: 700; }
.mk-cmp .mk-no { color: var(--color-text-faint); }
.mk-cmp tr:last-child th, .mk-cmp tr:last-child td { border-bottom: 0; }
.mk-verify { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12.5px; color: var(--color-text-muted); font-family: var(--font-mono); }
.mk-verify .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--color-warning); }
.mk-cmp-note { font-size: 13px; color: var(--color-text-muted); margin: 12px 0 0; line-height: 1.6; max-width: 80ch; }

/* ---- FAQ (no JS; native disclosure) ---- */
.mk-faq { max-width: 760px; }
.mk-q { border: 1px solid var(--color-border); border-radius: var(--r-md); background: var(--color-surface); margin-bottom: 10px; overflow: hidden; }
.mk-q > summary { cursor: pointer; list-style: none; padding: 16px 18px; font-size: 16px; font-weight: 600; color: var(--color-text); display: flex; align-items: center; gap: 12px; }
.mk-q > summary::-webkit-details-marker { display: none; }
.mk-q > summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--color-text-muted); line-height: 1; }
.mk-q[open] > summary::after { content: "\2013"; }
.mk-q > summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
.mk-q .mk-a { padding: 0 18px 16px; font-size: 15px; line-height: 1.65; color: var(--color-text-secondary); }
.mk-q .mk-a p { margin: 0 0 10px; }
.mk-q .mk-a p:last-child { margin-bottom: 0; }

/* ---- CTA band ---- */
.mk-cta { text-align: center; }
.mk-cta.dark { background: #11201a; color: #eaf1ea; }
.mk-cta h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 0 0 12px; }
.mk-cta.dark h2 { color: #f6faf6; }
.mk-cta p { font-size: 18px; color: var(--color-text-secondary); margin: 0 auto 24px; max-width: 52ch; }
.mk-cta.dark p { color: #b9cdc0; }
.mk-cta .mk-ctas { justify-content: center; }

/* ---- Related links (internal cluster) ---- */
.mk-related h2 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 16px; }
.mk-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-related-card { display: block; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: 16px 18px; text-decoration: none; color: inherit; transition: border-color .14s ease, transform .12s ease; }
.mk-related-card:hover { border-color: var(--color-border-strong); transform: translateY(-1px); }
.mk-related-card b { display: block; font-size: 14.5px; color: var(--color-primary-text); margin-bottom: 4px; }
.mk-related-card span { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }

/* ---- Callout (honest "coming" / scope notes) ---- */
.mk-callout { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r-md); padding: 16px 18px; border: 1px solid var(--color-border); background: var(--color-info-soft); }
.mk-callout.warning { background: var(--color-warning-soft); border-color: #ead9a8; }
.mk-callout.info { background: var(--color-info-soft); border-color: #c4dbf2; }
.mk-callout .mk-callout-ico { font-weight: 700; font-size: 15px; flex: none; width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-surface); }
.mk-callout h3 { font-size: 15px; margin: 0 0 4px; }
.mk-callout p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--color-text-secondary); }

/* ---- Quote / testimonial (honest, pilot-stage) ---- */
.mk-quote { background: var(--color-surface); border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary); border-radius: var(--r-md); padding: 24px 26px; max-width: 760px; }
.mk-quote p { font-size: 18px; line-height: 1.55; color: var(--color-text); margin: 0 0 12px; }
.mk-quote footer { font-size: 13.5px; color: var(--color-text-muted); }
.mk-quote footer b { color: var(--color-text); font-weight: 600; }

/* ---- Inline lead form (early access / contact) reuses .field/.form-* from site.css ---- */
.mk-formcard { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 26px; max-width: 520px; }
.mk-formcard h3 { font-size: 18px; margin: 0 0 4px; }
.mk-formcard .sub { font-size: 14px; color: var(--color-text-muted); margin: 0 0 18px; }

/* ---- Header CTA spacing (reuses .site-head/.site-nav from site.css) ---- */
.site-head-cta .btn { padding: 8px 15px; font-size: 14px; }

/* ---- Mega-menu nav (desktop: hover/focus dropdowns; mobile: details disclosure) ---- */
.mega { display: flex; gap: 2px; margin-left: 10px; align-items: stretch; }
.mega-item { position: relative; display: flex; align-items: center; }
.mega-top { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; font-size: 14px; font-weight: 500; color: var(--color-text-secondary); text-decoration: none; border-radius: var(--r-sm); }
.mega-top::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .55; }
.mega-top.plain::after { display: none; }
.mega-item:hover .mega-top, .mega-item:focus-within .mega-top { color: var(--color-text); background: var(--color-sunken); }
.mega-panel { position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); box-shadow: var(--shadow-3); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .14s ease, transform .14s ease; z-index: 60; }
.mega-panel.wide { min-width: 480px; }
.mega-panel.wide .mega-cols { column-count: 2; column-gap: 8px; }
.mega-item:hover .mega-panel, .mega-item:focus-within .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-panel a { display: block; padding: 7px 10px; font-size: 13.5px; color: var(--color-text-secondary); text-decoration: none; border-radius: var(--r-sm); break-inside: avoid; }
.mega-panel a:hover { background: var(--color-sunken); color: var(--color-primary-text); }
.mega-panel h5 { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-faint); margin: 8px 10px 3px; }

.mobile-nav { display: none; }
@media (max-width: 860px) {
  .mega { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: static; }
  .mobile-nav > summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 13px; border: 1px solid var(--color-border-strong); border-radius: var(--r-sm); color: var(--color-text); }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] > .mobile-panel { position: absolute; left: 0; right: 0; top: 60px; background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-2); padding: 8px clamp(20px, 4vw, 32px) 16px; z-index: 60; max-height: calc(100vh - 60px); overflow-y: auto; }
  .mobile-panel h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-faint); margin: 14px 0 2px; }
  .mobile-panel a { display: block; padding: 9px 0; font-size: 15px; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-border); }
  .site-head-cta .site-login { display: none; }
}

/* ---- Interactive tools ---- */
.mk-tool { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 26px; max-width: 720px; }
.mk-tool .tool-field { margin-bottom: 14px; }
.mk-tool label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.mk-tool input, .mk-tool select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--color-border-strong); border-radius: var(--r-sm); background: var(--color-surface); color: var(--color-text); width: 100%; }
.mk-tool input:focus, .mk-tool select:focus { outline: none; box-shadow: var(--focus-ring); }
.mk-tool .tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-tool .tool-result { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-md); background: var(--color-primary-soft); color: var(--color-primary-text); font-size: 15.5px; line-height: 1.55; }
.mk-tool .tool-result b { font-weight: 700; }
.mk-tool .tool-result .big { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.mk-tool .tool-note { font-size: 13px; color: var(--color-text-muted); margin-top: 14px; line-height: 1.6; }
.mk-tool .tool-list { margin: 10px 0 0; padding-left: 0; list-style: none; }
.mk-tool .tool-list li { position: relative; padding-left: 24px; margin: 7px 0; font-size: 14px; color: var(--color-text-secondary); }
.mk-tool .tool-list li::before { content: ""; position: absolute; left: 5px; top: 8px; width: 7px; height: 7px; border-radius: 999px; background: var(--color-primary); }
@media (max-width: 600px) { .mk-tool .tool-row { grid-template-columns: 1fr; } }

/* ---- Changelog ---- */
.cl-list { max-width: 760px; }
.cl-entry { border-left: 2px solid var(--color-border); padding: 0 0 28px 24px; position: relative; }
.cl-entry::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 999px; background: var(--color-primary); border: 2px solid var(--color-surface); }
.cl-entry:last-child { padding-bottom: 0; }
.cl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cl-date { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-muted); }
.cl-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: var(--r-xs); }
.cl-tag.Added { background: var(--color-success-soft); color: var(--color-success); }
.cl-tag.Security { background: var(--color-info-soft); color: var(--color-info); }
.cl-tag.Changed { background: var(--color-warning-soft); color: var(--color-warning); }
.cl-tag.Fixed { background: var(--color-sunken); color: var(--color-text-muted); }
.cl-entry h2 { font-size: 19px; letter-spacing: -0.01em; margin: 0 0 6px; }
.cl-entry > p { font-size: 15px; line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 10px; }
.cl-entry ul { margin: 0; padding: 0; list-style: none; }
.cl-entry li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); margin: 6px 0; }
.cl-entry li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--color-primary); }
.cl-rss { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--color-primary-text); text-decoration: none; }
.cl-rss:hover { text-decoration: underline; }

/* ---- Fat footer (mirrors the sitemap) ---- */
.mk-foot { background: var(--color-sunken); border-top: 1px solid var(--color-border); padding: 56px 0 0; margin-top: 0; }
.mk-foot-top { display: grid; grid-template-columns: 1.3fr repeat(6, 1fr); gap: 24px; padding-bottom: 36px; }
.mk-foot-brand .wordmark { font-size: 22px; }
.mk-foot-brand p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.6; max-width: 34ch; margin: 12px 0 0; }
.mk-foot-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-faint); margin: 0 0 12px; }
.mk-foot-col a { display: block; font-size: 13.5px; color: var(--color-text-secondary); text-decoration: none; padding: 4px 0; }
.mk-foot-col a:hover { color: var(--color-primary-text); }
.mk-foot-base { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; border-top: 1px solid var(--color-border); padding: 18px 0; font-size: 12px; color: var(--color-text-muted); }
.mk-foot-base .sep { color: var(--color-text-faint); }
.mk-foot-push { flex: 1 1 auto; min-width: 24px; }

/* ---- HTML sitemap ---- */
.sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px 28px; }
.sitemap-list li { min-width: 0; }
.sitemap-list a { display: block; color: var(--color-primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; line-height: 1.35; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .mk-foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .mk-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .mk-trust { grid-template-columns: repeat(2, 1fr); }
  .mk-features.cols-3, .mk-features.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-related-grid { grid-template-columns: 1fr 1fr; }
  .mk-hero.has-proof .mk-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .mk-hero-proof { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mk-section { padding: 56px 0; }
  .mk-trust, .mk-features.cols-2, .mk-features.cols-3, .mk-features.cols-4, .mk-related-grid { grid-template-columns: 1fr; }
  .mk-foot-top { grid-template-columns: 1fr; }
  .mk-hero { padding: 48px 0 36px; }
  .mk-hero.dark { padding: 54px 0 48px; }
  .mk-hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .mk-q > summary { align-items: flex-start; }
  .mk-callout { flex-direction: column; }
}

/* ============================================================
   Product-UI showcase (real product mockups beside the pitch)
   Reuses the homepage design DNA: brand dots, avatars, chips.
   ============================================================ */
.mk-showcase-in { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 52px; align-items: center; }
.mk-showcase-in.flip .mk-showcase-text { order: 2; }
.mk-showcase-text .mk-kicker { margin-bottom: 12px; }
.mk-showcase-text h2 { font-size: clamp(24px, 2.9vw, 33px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 14px; }
.mk-section.dark .mk-showcase-text h2 { color: #f6faf6; }
.mk-showcase-text .lead { font-size: 17px; line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 18px; }
.mk-section.dark .mk-showcase-text .lead { color: #b9cdc0; }
.mk-showcase-points { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.mk-showcase-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--color-text); }
.mk-section.dark .mk-showcase-points li { color: #d7e4dc; }
.mk-showcase-points li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--color-primary); }
.mk-section.dark .mk-showcase-points li svg { color: #5fbd8b; }

/* Device frame */
.mk-mock { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); box-shadow: var(--shadow-3); overflow: hidden; color: var(--color-text); }
.mk-section.dark .mk-mock { border-color: rgba(255,255,255,.12); box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.3); }
.mk-mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: var(--color-bg); font-size: 13px; font-weight: 600; }
.mk-muted-inline { color: var(--color-text-faint); font-weight: 500; }
.mk-brand-strip { display: flex; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--color-border); }
.mk-mock-head .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-success); }
.mk-mock-head .live .blip { width: 6px; height: 6px; border-radius: 999px; background: var(--color-success); animation: mkblip 1.8s infinite; }
@keyframes mkblip { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* Queue rows */
.mk-row { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--color-border); }
.mk-row:last-child { border-bottom: 0; }
.mk-row-main { min-width: 0; }
.mk-av { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.mk-av.a { background: #4a6b5a; } .mk-av.b { background: #5a5e8a; } .mk-av.c { background: #8a5a4e; } .mk-av.d { background: #3e6e78; }
.mk-av.none { background: transparent; color: var(--color-text-faint); border: 1.5px dashed var(--color-border-strong); }
.mk-row .subj { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row .cust { font-size: 11.5px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.mk-dot { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.mk-dot.a { background: var(--brand-a); } .mk-dot.b { background: var(--brand-b); }
.mk-right { display: flex; align-items: center; gap: 8px; justify-self: end; }
.mk-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; font-size: 11px; font-weight: 600; border-radius: var(--r-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-chip.new { background: var(--color-info-soft); color: var(--color-info); }
.mk-chip.open { background: var(--color-primary-soft); color: var(--color-primary-text); }
.mk-chip.ok { color: var(--color-text-muted); padding-left: 0; }
.mk-chip.risk { background: var(--color-warning-soft); color: var(--color-warning); }
.mk-chip.breach { background: var(--color-danger-soft); color: var(--color-danger); }
.mk-chip.verified { background: var(--color-success-soft); color: var(--color-success); }
.mk-chip.waiting { background: var(--color-warning-soft); color: var(--color-warning); }
.mk-chip.recommended { background: var(--color-sunken); color: var(--color-text-muted); padding-left: 8px; }
.mk-btag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--color-text-secondary); }

/* Ticket thread (reply vs note) */
.mk-thread { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mk-msg { border-radius: var(--r-sm); border: 1px solid var(--color-border); overflow: hidden; }
.mk-msg .mh { padding: 7px 12px; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mk-msg .mb { padding: 9px 12px; font-size: 12.5px; line-height: 1.5; color: var(--color-text-secondary); }
.mk-msg.inbound .mh { background: var(--color-bg); color: var(--color-text-secondary); }
.mk-msg.reply { background: #f7faf7; border-color: #cfe3d4; }
.mk-msg.reply .mh { color: var(--color-primary-text); }
.mk-msg.note { background: #fdf6e0; border-color: #e7d391; }
.mk-msg.note .mh { color: #6d4a02; }
.mk-msg .mh svg { width: 13px; height: 13px; }

/* Reporting tiles + bar */
.mk-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 16px; }
.mk-stat { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--r-sm); padding: 12px; }
.mk-stat .n { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-stat .l { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.mk-bars { padding: 0 16px 16px; display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.mk-bars i { display: block; flex: 1; background: var(--color-primary-soft); border-radius: 4px 4px 0 0; position: relative; }
.mk-bars i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--color-primary); border-radius: 0 0 4px 4px; opacity: .55; }
.mk-bars .h42 { height: 42%; }
.mk-bars .h53 { height: 53%; }
.mk-bars .h60 { height: 60%; }
.mk-bars .h64 { height: 64%; }
.mk-bars .h71 { height: 71%; }
.mk-bars .h78 { height: 78%; }
.mk-bars .h88 { height: 88%; }

/* Setup / DNS card */
.mk-dns { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.mk-dns-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.mk-dns-row code { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-muted); margin-left: auto; }
.mk-progress { height: 5px; border-radius: 999px; background: var(--color-sunken); overflow: hidden; margin: 4px 0 2px; }
.mk-progress > i { display: block; height: 100%; background: var(--color-primary); border-radius: 999px; }
.mk-progress .w66 { width: 66%; }
.mk-blocked { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--color-text-muted); }
.mk-pricing-note { margin-top: 18px; }
.mk-quote { margin: 0; }
.mk-quote blockquote { margin: 0; border: 0; padding: 0; }
.tool-link { margin: 14px 0 0; }

@media (max-width: 920px) {
  .mk-showcase-in { grid-template-columns: 1fr; gap: 32px; }
  .mk-showcase-in.flip .mk-showcase-text { order: 0; }
}

/* ============================================================
   Premium polish: motion + depth (progressive enhancement)
   ============================================================ */
/* Reveal-on-scroll: only active when JS sets .has-reveal on <html>,
   so no-JS visitors always see fully-rendered content. */
.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
.has-reveal .reveal.in { opacity: 1; transform: none; }

/* Header elevates on scroll */
.site-head { transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.site-head.scrolled { box-shadow: 0 1px 0 rgba(29,35,31,.04), 0 6px 22px rgba(29,35,31,.07); background: rgba(245,247,243,.92); }

/* Card hover lifts (craft) */
.mk-feature, .mk-step, .tier, .mk-quote { transition: transform .16s ease, box-shadow .2s ease, border-color .16s ease; }
.mk-feature:hover, .mk-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--color-border-strong); }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.mk-feature .ico { transition: transform .18s ease, background-color .18s ease; }
.mk-feature:hover .ico { transform: scale(1.06); }

/* Buttons lift on hover */
.btn-primary { box-shadow: 0 1px 2px rgba(21,96,63,.18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(21,96,63,.26); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn { transition: background-color .14s ease, border-color .14s ease, transform .12s ease, box-shadow .16s ease; }

/* Richer dark sections: dotted texture + soft radial glow */
.mk-section.dark, .mk-cta.dark, .mk-hero.dark { position: relative; overflow: hidden; }
.mk-section.dark::before, .mk-cta.dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 80%); pointer-events: none; }
.mk-section.dark > .wrap, .mk-cta.dark > .wrap { position: relative; z-index: 1; }
.mk-hero.dark::after { content: ""; position: absolute; left: 50%; top: -180px; transform: translateX(-50%); width: 860px; height: 460px; background: radial-gradient(ellipse at center, rgba(95,189,139,.16), transparent 62%); pointer-events: none; }

/* Section headings: a touch more presence */
.mk-h2, .mk-showcase-text h2, .mk-cta h2 { text-wrap: balance; }
.mk-lead, .mk-hero .lede, .mk-showcase-text .lead { text-wrap: pretty; }

/* Eyebrow pulse dot to match the homepage */
.mk-hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: mkpulse 2.6s infinite; }
@keyframes mkpulse { 0% { box-shadow: 0 0 0 0 rgba(95,189,139,.45); } 70% { box-shadow: 0 0 0 8px rgba(95,189,139,0); } 100% { box-shadow: 0 0 0 0 rgba(95,189,139,0); } }

@media (prefers-reduced-motion: reduce) {
  .has-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .mk-feature:hover, .mk-step:hover, .tier:hover, .btn-primary:hover, .btn-secondary:hover { transform: none; }
  .mk-mock-head .live .blip, .mk-hero .eyebrow::before { animation: none; }
  * { scroll-behavior: auto; }
}
