:root{
  --navy:#0F2A44;
  --teal:#0FA3A9;
  --bg:#F5F7FA;
  --text:#111827;
  --muted:#6B7280;
  --card:#FFFFFF;
  --border: rgba(15,42,68,0.12);
  --shadow: 0 10px 30px rgba(15,42,68,0.08);
  --radius: 10px;

  /* ✅ new, safe tokens */
  --shadow-sm: 0 6px 18px rgba(15,42,68,0.06);
  --shadow-md: 0 18px 50px rgba(15,42,68,0.10);
  --ring: 0 0 0 4px rgba(15,163,169,0.12);

  /* ✅ spacing + typography tokens */
  --container: 1100px;
  --gutter: 92%;
  --radius-lg: 18px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color:inherit; }
img{ max-width:100%; height:auto; }
p{ margin:0; }
h1,h2,h3{ margin:0; }
::selection{ background: rgba(15,163,169,0.14); }

.mk-container{ width:min(var(--container), var(--gutter)); margin:0 auto; }

/* ===============================
   Header / Nav (premium feel)
   =============================== */
.mk-header{
  position:sticky; top:0; z-index:50;
  background: rgba(245,247,250,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.mk-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap: 12px;
  flex-wrap: nowrap;
}

.mk-brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}

/* ✅ SINGLE LOGO CONTROL (SVG/PNG/etc) */
.mk-logo{
  height: 40px;
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ✅ Brand text helpers (safe if unused) */
.mk-brandtext{
  display:inline-flex;
  align-items:center;
  line-height: 1;
}
.mk-mark{
  width:34px; height:34px; border-radius:10px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}
.mk-brandtext{ font-weight:700; letter-spacing:-0.02em; font-size:18px; }
.mk-church{ color:var(--navy); }
.mk-ops{ color:var(--teal); }

/* Links */
.mk-links{ display:flex; gap:18px; align-items:center; }
.mk-links a{
  color: rgba(15,42,68,0.82);
  text-decoration:none;
  font-weight:800;
  padding:8px 10px;
  border-radius:10px;
  line-height: 1;
  display:inline-flex;
  align-items:center;
  transition: background .15s ease, color .15s ease;
}
.mk-links a:hover{ background: rgba(15,42,68,0.06); color: rgba(15,42,68,0.95); }

/* Actions */
.mk-actions{ display:flex; align-items:center; gap:12px; }
.mk-linkbtn{
  color: rgba(15,42,68,0.82);
  text-decoration:none;
  font-weight:900;
  padding:10px 10px;
  border-radius:10px;
  line-height: 1;
  display:inline-flex;
  align-items:center;
  transition: background .15s ease, color .15s ease;
}
.mk-linkbtn:hover{ background: rgba(15,42,68,0.06); color: rgba(15,42,68,0.95); }

/* Buttons */
.mk-btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-weight:950;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  line-height: 1;
  transition: transform .12s ease, filter .12s ease, background .12s ease, box-shadow .12s ease;
  letter-spacing: -0.01em;
}
.mk-btn:active{ transform: translateY(1px); }

.mk-btn-primary{
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.mk-btn-primary:hover{
  filter: brightness(1.03);
  box-shadow: var(--shadow);
}

.mk-btn-secondary{
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.mk-btn-secondary:hover{ background: rgba(15,42,68,0.04); }

/* Focus states (accessibility) */
.mk-links a:focus-visible,
.mk-linkbtn:focus-visible,
.mk-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-color: rgba(15,163,169,0.55);
}

/* ===============================
   Header nav: prevent wrapping in FR
   =============================== */
.mk-links a,
.mk-actions a,
.mk-actions .mk-linkbtn,
.mk-actions .mk-btn {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .mk-links { gap: 14px; }
  .mk-links a { padding: 8px 8px; font-size: 14px; }
  .mk-linkbtn { padding: 10px 8px; font-size: 14px; }
  .mk-btn { padding: 11px 12px; font-size: 14px; }
}

/* If still tight, let the center links scroll instead of wrapping */
@media (max-width: 980px) {
  .mk-links {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mk-links::-webkit-scrollbar { display: none; }
}

/* ===============================
   Main spacing
   =============================== */
.mk-main{ padding-bottom: 20px; }

/* ===============================
   Hero (cleaner + more premium)
   =============================== */
.mk-hero{
  padding: 64px 0 24px;
  background:
    radial-gradient(1200px 600px at 12% 0%, rgba(15,163,169,.10), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(15,42,68,.10), transparent 55%),
    var(--bg);
}

.mk-herogrid{
  display:grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items:center;
}

.mk-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:950;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,42,68,.75);
  margin-bottom: 10px;
}

.mk-hero h1{
  margin:0 0 12px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.mk-lead{
  margin:0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(17,24,39,0.86);
  max-width: 62ch;
}

.mk-ctarow{ display:flex; gap:12px; flex-wrap:wrap; margin: 0 0 10px; }
.mk-subtle{ margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* Hero card / image */
.mk-heroCard{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow:hidden;
}

.mk-heroCard--image { padding: 12px; }

.mk-heroImage{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  background:#fff;
}

/* ===============================
   Sections / Cards
   =============================== */
.mk-section{ padding: 48px 0; }

.mk-alt{
  background: rgba(15,42,68,0.03);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.mk-sectionhead h2{
  margin:0 0 8px;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-size: 28px;
}
.mk-sectionhead p{ margin:0 0 18px; }

.mk-grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mk-card, .mk-tile{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mk-card:hover, .mk-tile:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(15,42,68,0.10);
}

.mk-card h3, .mk-tile h3{
  margin: 4px 0 8px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.mk-muted{ color: var(--muted); }

.mk-badge{
  display:inline-block;
  font-size: 12px;
  font-weight: 950;
  color: var(--teal);
  background: rgba(15,163,169,0.10);
  border: 1px solid rgba(15,163,169,0.18);
  padding: 6px 10px;
  border-radius: 999px;
}

/* ===============================
   Steps
   =============================== */
.mk-steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.mk-step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 16px;
  background: #fff;
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.mk-stepnum{
  width:34px; height:34px;
  border-radius: var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  background: rgba(15,163,169,0.10);
  border: 1px solid rgba(15,163,169,0.22);
  color: var(--teal);
  font-weight: 950;
}

/* ===============================
   CTA strip
   =============================== */
.mk-cta{ padding: 56px 0; }
.mk-ctabox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.mk-ctabox h2{ margin:0 0 6px; color: var(--navy); letter-spacing:-0.01em; }
.mk-ctabox p{ margin:0; }
.mk-ctaright{ display:flex; flex-direction:column; gap:8px; align-items:flex-end; }

/* ===============================
   Page styles
   =============================== */
.mk-page{ padding: 52px 0; }
.mk-page h1{ margin:0 0 10px; color: var(--navy); letter-spacing:-0.02em; }

/* ===============================
   Forms
   =============================== */
.mk-form{
  margin-top: 18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.mk-formgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.mk-full{ grid-column: 1 / -1; }

label{
  display:block;
  font-weight: 950;
  color: rgba(15,42,68,0.85);
  margin-bottom:6px;
  font-size: 13px;
}

input, textarea, select{
  width:100%;
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,42,68,0.65) 50%),
    linear-gradient(135deg, rgba(15,42,68,0.65) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px),
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: rgba(15,163,169,0.55);
  box-shadow: var(--ring);
}

/* ===============================
   Footer
   =============================== */
.mk-footer{
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 44px;
}

.mk-footergrid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 30px 0;
}

.mk-footerbrand{ display:flex; align-items:center; gap:10px; margin-bottom: 10px; }

.mk-footlinks{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mk-foothead{ font-weight: 950; color: var(--navy); margin-bottom: 10px; }

.mk-footlinks a{
  display:block;
  color: rgba(15,42,68,0.78);
  text-decoration:none;
  padding:6px 0;
}
.mk-footlinks a:hover{ color: var(--navy); text-decoration: underline; }

.mk-footbar{ padding: 12px 0 22px; border-top:1px solid var(--border); }

/* ===============================
   Alerts
   =============================== */
.mk-alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0 18px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
}
.mk-alert-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

/* ✅ Buttons inside alert */
.mk-alert-actions{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================================
   Contact / Demo page (Marketing)
   ========================================================= */
.mk-contact{
  padding: 56px 0 72px;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(15,163,169,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(15,42,68,.10), transparent 55%),
    var(--bg);
}

.mk-contactGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items:start;
}

.mk-contactCopy h1{
  margin:0 0 10px;
  color: var(--navy);
  letter-spacing:-0.02em;
}

.mk-trustList{
  margin: 18px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}

.mk-trustItem{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(15,42,68,0.04);
}

.mk-trustDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: rgba(15,163,169,.85);
}

.mk-contactNote{ margin-top: 14px; }
.mk-formCardWrap{ display:block; }

.mk-formCard{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-md);
  padding: 18px;
}

.mk-formTitle{
  margin: 0 0 6px;
  color: var(--navy);
  letter-spacing:-0.01em;
}

.mk-form.mk-form--clean{
  margin-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.mk-formActions{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.mk-btn.mk-btn-block{
  width: 100%;
  justify-content:center;
}

/* =========================================================
   Pricing + FAQ (Marketing)
   ========================================================= */
.mk-pagehead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  margin-bottom: 18px;
}
.mk-pagehead h1{ margin: 0 0 8px; }
.mk-pageheadActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.mk-pricingGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 14px;
}

.mk-priceCard{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

.mk-priceCardFeatured{
  border-color: rgba(15,163,169,0.22);
  box-shadow: var(--shadow-md);
  position: relative;
}

.mk-priceTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mk-pricePlan{
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.mk-priceSub{ margin-top: 4px; font-size: 0.92rem; }

.mk-priceBadge{
  font-size: 12px;
  font-weight: 950;
  color: #0b3b3e;
  background: rgba(15,163,169,0.12);
  border: 1px solid rgba(15,163,169,0.22);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mk-priceTag{
  font-size: 12px;
  font-weight: 950;
  color: rgba(15,42,68,0.80);
  background: rgba(15,42,68,0.05);
  border: 1px solid rgba(15,42,68,0.10);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mk-price{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin: 8px 0 12px;
}

.mk-priceAmt{
  font-size: 34px;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.mk-priceMeta{
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.mk-priceList{
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mk-priceList li{
  padding-left: 22px;
  position: relative;
  color: rgba(17,24,39,0.88);
}
.mk-priceList li::before{
  content: "✓";
  position:absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 950;
}

.mk-priceCta{
  margin-top: auto;
  padding-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mk-priceNote{ font-size: 13px; }

.mk-faq{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.mk-faqItem{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
}
.mk-faqItem > summary{
  cursor:pointer;
  font-weight: 950;
  color: var(--navy);
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.mk-faqItem > summary::-webkit-details-marker{ display:none; }
.mk-faqItem > summary::after{
  content: "+";
  font-weight: 950;
  color: rgba(15,42,68,0.65);
}
.mk-faqItem[open] > summary::after{ content: "—"; }
.mk-faqBody{ margin-top: 10px; line-height: 1.65; }

/* =========================================================
   Features page
   ========================================================= */
.mk-featuresHero{
  padding: 56px 0 26px;
  background:
    radial-gradient(1200px 600px at 12% 0%, rgba(15,163,169,.10), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(15,42,68,.10), transparent 55%),
    var(--bg);
  opacity: 0.96;
}

.mk-featuresTop{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items:center;
}

.mk-featuresTop h1{
  margin:0 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* =========================================================
   About page (Marketing)
   ========================================================= */
.mk-about{
  padding: 56px 0 48px;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(15,163,169,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(15,42,68,.08), transparent 55%),
    var(--bg);
}

.mk-aboutHero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items:start;
}

.mk-aboutCard{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow:hidden;
}

.mk-aboutCardTop{
  display:flex; gap:6px;
  padding: 12px 14px;
  border-bottom:1px solid var(--border);
  background: rgba(15,42,68,0.02);
}

.mk-aboutCardBody{ padding: 16px; display:grid; gap: 12px; }

.mk-aboutStat{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border: 1px solid rgba(15,42,68,0.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.75);
}

.mk-aboutStatNum{
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  background: rgba(15,163,169,0.10);
  border: 1px solid rgba(15,163,169,0.22);
  color: var(--teal);
  font-weight: 950;
  flex: 0 0 auto;
}

.mk-aboutStatTitle{
  font-weight: 950;
  color: var(--navy);
  margin-bottom: 4px;
}

.mk-aboutSplit{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.mk-checklist li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.mk-check{
  width: 22px; height: 22px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(15,163,169,0.12);
  border: 1px solid rgba(15,163,169,0.20);
  color: var(--teal);
  font-weight: 950;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* =========================================================
   Screenshot cards (Features)
   ========================================================= */
.mk-shotCard{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 520px;
  margin-left: auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mk-shot{
  display:block;
  width: 100%;
  height: auto;
}

.mk-shotCard::before{
  content:"";
  display:block;
  height: 44px;
  background: rgba(15,42,68,0.03);
  border-bottom: 1px solid var(--border);
}

.mk-shotCard .mk-shot{
  object-fit: contain;
  background: #fff;
}

.mk-shotCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15,42,68,.14);
}

/* ===============================
   Responsive (unify all)
   =============================== */
@media (max-width: 900px){
  .mk-herogrid{ grid-template-columns: 1fr; }
  .mk-hero h1{ font-size: 36px; }
  .mk-grid3{ grid-template-columns: 1fr; }
  .mk-ctabox{ flex-direction:column; align-items:flex-start; }
  .mk-ctaright{ align-items:flex-start; }
  .mk-footergrid{ grid-template-columns: 1fr; }
  .mk-formgrid{ grid-template-columns: 1fr; }

  /* keep header links visible */
  .mk-nav{ flex-wrap: wrap; }
  .mk-links{
    display:flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mk-links::-webkit-scrollbar{ display:none; }

  .mk-actions{
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px){
  .mk-contactGrid{ grid-template-columns: 1fr; }
  .mk-formCard{ padding: 16px; }
  .mk-featuresTop{ grid-template-columns: 1fr; }
  .mk-featuresTop h1{ font-size: 36px; }
  .mk-aboutHero{ grid-template-columns: 1fr; }
  .mk-aboutSplit{ grid-template-columns: 1fr; }
  .mk-shotCard{ max-width: 100%; margin: 0; }
}

@media (max-width: 900px){
  .mk-pricingGrid{ grid-template-columns: 1fr; }
}

/* ===============================
   Mobile usability patch (safe)
   (kept as-is; only here for compatibility)
   =============================== */
@media (max-width: 900px) {
  .top-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    max-width: 85vw;

    transform: translate3d(-100%, 0, 0);
    will-change: transform;

    transition: none;

    z-index: 1200;
    background: var(--sidebar-bg, #fff);
  }

  body.nav-ready .top-nav {
    transition: transform 220ms ease;
  }

  body.menu-open .top-nav {
    transform: translate3d(0, 0, 0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-fab {
    display: inline-flex;
  }
}
/* ===============================
   Lists (used in Product/Policies pages)
   =============================== */
.mk-list{
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.mk-list li{
  color: rgba(17,24,39,0.88);
  line-height: 1.65;
}

.mk-list strong{
  color: var(--navy);
}
/* =========================================================
   User Manual / Docs (polished + simple)
   ========================================================= */
.page { padding: 56px 0; }
.container { width: min(var(--container), var(--gutter)); margin: 0 auto; }
.muted { color: var(--muted); }

/* Layout */
.docs-grid{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  margin-top: 22px;
  align-items: start;
}

/* Sidebar */
.docs-nav{
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.docs-nav h3{
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.docs-nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.docs-nav a{
  text-decoration: none;
  color: rgba(15,42,68,0.82);
  font-weight: 850;
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.docs-nav a:hover{
  background: rgba(15,42,68,0.05);
  color: rgba(15,42,68,0.95);
  transform: translateY(-1px);
}

/* Main content */
.docs-content{
  max-width: 78ch;
}

.docs-content p{
  margin: 0 0 12px;
  line-height: 1.75;
  color: rgba(17,24,39,0.88);
}

.docs-content h1{
  color: var(--navy);
  letter-spacing: -0.02em;
}

.docs-content h2{
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.docs-content h3{
  margin: 16px 0 8px;
  color: rgba(15,42,68,0.92);
  letter-spacing: -0.01em;
  font-size: 16px;
}

.docs-content h4{
  margin: 14px 0 6px;
  color: rgba(15,42,68,0.92);
}

.docs-content ul,
.docs-content ol{
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.docs-content li{
  line-height: 1.7;
  color: rgba(17,24,39,0.88);
}

.docs-content strong{ color: var(--navy); }

/* Roll-up (collapsible) sections */
.docs-rollup{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0 0 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.docs-rollup:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(15,42,68,0.10);
}

.docs-rollup__summary{
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  background: rgba(15,42,68,0.015);
  border-bottom: 1px solid rgba(15,42,68,0.06);
  transition: background .15s ease;
}

.docs-rollup__summary:hover{
  background: rgba(15,42,68,0.03);
}

.docs-rollup__summary::-webkit-details-marker{ display: none; }

.docs-rollup__title{
  font-weight: 950;
  color: rgba(15,42,68,0.92);
  letter-spacing: -0.01em;
}

.docs-rollup__icon{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15,42,68,0.75);
  border-bottom: 2px solid rgba(15,42,68,0.75);
  transform: rotate(-45deg);
  transition: transform 160ms ease;
  opacity: 0.9;
  flex: 0 0 auto;
}

.docs-rollup[open] .docs-rollup__icon{
  transform: rotate(45deg);
}

.docs-rollup__body{
  padding: 14px 16px 16px;
}

/* Nice focus */
.docs-nav a:focus-visible,
.docs-rollup__summary:focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

/* Subtle “active” highlight when using anchor links */
.docs-rollup:target{
  border-color: rgba(15,163,169,0.35);
  box-shadow: 0 0 0 4px rgba(15,163,169,0.10), var(--shadow-sm);
}

/* Responsive */
@media (max-width: 900px){
  .docs-grid{ grid-template-columns: 1fr; }
  .docs-nav{ position: static; }
  .docs-content{ max-width: 100%; }
}
/* =========================================================
   Home hero neatness (scoped, minimal)
   ========================================================= */
.mk-hero .mk-herogrid--neat{
  align-items: center;
  gap: 26px;
}

.mk-hero .mk-heroCopy{
  max-width: 620px;
}

.mk-hero .mk-heroTitle{
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.mk-hero .mk-heroLead{
  margin: 0;
  max-width: 58ch;
}

.mk-hero .mk-heroCtas{
  margin-top: 14px;
}

.mk-hero .mk-heroChecklist{
  margin-top: 12px;
  margin-bottom: 0;
}

.mk-hero .mk-homePills--neat{
  margin-top: 12px;
  gap: 8px;
}

.mk-hero .mk-pill{
  padding: 7px 10px;
  box-shadow: none;
  background: rgba(255,255,255,0.70);
}

.mk-hero .mk-pillDot{
  box-shadow: none;
}

.mk-hero .mk-heroReplace{
  margin-top: 10px;
}

.mk-hero .mk-heroCard--neat{
  box-shadow: 0 18px 44px rgba(15,42,68,0.10);
}

.mk-hero .mk-heroImage--neat{
  border-radius: 18px;
}

@media (max-width: 980px){
  .mk-hero .mk-heroCopy{ max-width: 100%; }
}
/* =========================================================
   Fix pill overlap/wrapping in home hero
   (prevents orphan words like “execute” dropping under other pills)
   ========================================================= */
.mk-hero .mk-homePills{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mk-hero .mk-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1.15;
}

.mk-hero .mk-pillDot{
  flex: 0 0 auto;
}
.mk-checkRow{ display:flex; align-items:center; gap:10px; }
.mk-checkRow label{ margin:0; }
