/* ============================================================
   STELAAH — MARKETING SYSTEM  (mkt.css)
   Extends the product design system (stelaah.css tokens) into a
   calmer, more spacious marketing layer. Load AFTER stelaah.css.

   Design language: Editorial Calm, extended.
   · One humanist sans (Onest, the product face) for everything.
   · Space Mono for tiny uppercase labels and eyebrows only.
   · Pine green accent (data-accent="pine") used once per view.
   · Borderless first. Hairlines and whitespace, not boxes.
   · Soft low shadows for real elevation only.
   · One signature easing: var(--ease) cubic-bezier(.32,.72,0,1).

   References held as the quality bar (not copied):
   ClickUp architecture · Linear restraint · Notion editorial
   Arc storytelling · Stripe motion · Vercel spacing · Raycast AI.
   ============================================================ */

/* ---- page scroll (marketing pages scroll; the app does not) ---- */
html.mkt { overflow: auto !important; height: auto !important; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html.mkt { scroll-behavior: auto; } }
.mkt body { overflow: auto !important; height: auto !important; background: var(--bg); color: var(--ink); line-height: 1.5; }
.mkt a { color: inherit; text-decoration: none; }
.mkt img { max-width: 100%; display: block; }
.mkt ::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---- marketing-scoped scale tokens (Vercel-grade spacing) ---- */
.mkt {
  --mk-maxw: 1180px;
  --mk-maxw-wide: 1320px;
  --mk-maxw-prose: 720px;
  --mk-gutter: clamp(20px, 5vw, 40px);
  --mk-section-y: clamp(76px, 9vw, 132px);
  --mk-section-y-tight: clamp(48px, 6vw, 84px);
  --mk-dark-bg: #141417;       /* deep neutral for immersive bands */
  --mk-dark-bg-2: #0f0f12;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.mk-container { width: 100%; max-width: var(--mk-maxw); margin-inline: auto; padding-inline: var(--mk-gutter); }
.mk-container.wide { max-width: var(--mk-maxw-wide); }
.mk-container.prose { max-width: var(--mk-maxw-prose); }
.mk-section { padding-block: var(--mk-section-y); position: relative; }
.mk-section.tight { padding-block: var(--mk-section-y-tight); }
.mk-section + .mk-section.flush { padding-top: 0; }
.mk-hr { height: 1px; background: var(--border); border: 0; margin: 0; }
.mk-hr.soft { background: var(--border-subtle); }

.mk-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.mk-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mk-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mk-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mk-split { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mk-split.text-right { grid-template-columns: 0.96fr 1.04fr; }
@media (max-width: 900px) {
  .mk-cols-3, .mk-cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mk-split, .mk-split.text-right { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .mk-cols-2, .mk-cols-3, .mk-cols-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   TYPE  — humanist sans for all, mono only for labels
   ============================================================ */
.mk-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px;
}
.mk-eyebrow.accent { color: var(--accent); }
.mk-eyebrow::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.mk-eyebrow.bare::before { display: none; }

.mk-display {
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.0;
  font-size: clamp(44px, 6.6vw, 84px); margin: 0; color: var(--ink);
  text-wrap: balance;
}
.mk-h1 { font-weight: 520; letter-spacing: -0.032em; line-height: 1.04; font-size: clamp(38px, 5.2vw, 62px); margin: 0; text-wrap: balance; }
.mk-h2 { font-weight: 540; letter-spacing: -0.028em; line-height: 1.07; font-size: clamp(29px, 3.9vw, 47px); margin: 0; text-wrap: balance; }
.mk-h3 { font-weight: 560; letter-spacing: -0.02em; line-height: 1.14; font-size: clamp(21px, 2.3vw, 28px); margin: 0; text-wrap: balance; }
.mk-h4 { font-weight: 600; letter-spacing: -0.014em; line-height: 1.2; font-size: clamp(17px, 1.4vw, 19px); margin: 0; }
.mk-accent { color: var(--accent); }
.mk-ink-soft { color: var(--ink-2); }

.mk-lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 62ch; font-weight: 400; }
.mk-body { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
.mk-small { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.mk-measure { max-width: 56ch; }
.mk-reassure { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }

/* a heading lockup: eyebrow + headline + lede, centered or left */
.mk-head { max-width: 760px; }
.mk-head.center { margin-inline: auto; text-align: center; }
.mk-head.center .mk-eyebrow { justify-content: center; }
.mk-head .mk-lede { margin-top: 20px; }
.mk-head.center .mk-lede { margin-inline: auto; }

/* ============================================================
   BUTTONS  (extends .btn from stelaah.css)
   ============================================================ */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 560; letter-spacing: -0.01em;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.mk-btn .ic { width: 17px; height: 17px; flex-shrink: 0; }
.mk-btn.lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 13px; }
.mk-btn.sm { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }
.mk-btn.primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow-sm); }
.mk-btn.primary:hover { background: var(--accent-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.mk-btn.secondary { background: var(--surface); border-color: var(--border-strong); color: var(--ink); box-shadow: var(--shadow-xs); }
.mk-btn.secondary:hover { border-color: var(--ink-4); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.mk-btn.ghost { background: transparent; color: var(--ink); }
.mk-btn.ghost:hover { background: var(--bg-hover); }
.mk-btn.link { height: auto; padding: 0; background: none; color: var(--accent); font-weight: 540; border-radius: 0; }
.mk-btn.link .ic { transition: transform var(--t-med) var(--ease); }
.mk-btn.link:hover .ic { transform: translateX(3px); }
.mk-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mk-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ============================================================
   NAV  — sticky, blur-on-scroll, accessible dropdowns
   ============================================================ */
.mk-nav { position: sticky; top: 0; z-index: 80; }
.mk-nav-bar {
  height: 66px; display: flex; align-items: center; gap: 18px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.mk-nav.scrolled .mk-nav-bar { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.mk-nav-inner { width: 100%; max-width: var(--mk-maxw-wide); margin-inline: auto; padding-inline: var(--mk-gutter); display: flex; align-items: center; gap: 14px; }

.mk-logo { display: inline-flex; align-items: center; gap: 10px; user-select: none; flex-shrink: 0; }
.mk-logo .mark { width: 26px; height: 26px; color: var(--accent); }
.mk-logo .word { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }

.mk-nav-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.mk-nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px;
  border: 0; background: none; border-radius: 9px; cursor: pointer; user-select: none;
  font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.mk-nav-link:hover, .mk-nav-link[aria-expanded="true"] { color: var(--ink); background: var(--bg-hover); }
.mk-nav-link .caret { width: 13px; height: 13px; opacity: .6; transition: transform var(--t-med) var(--ease); }
.mk-nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.mk-nav-link .mk-aria-mark { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mk-nav-spacer { flex: 1; }
.mk-nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mk-nav-signin { font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 0 8px; }
.mk-nav-signin:hover { color: var(--ink); }

/* mega dropdown */
.mk-nav-item { position: relative; }
.mk-mega {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 90;
  min-width: 540px; padding: 14px; border-radius: var(--r-lg);
  background: var(--overlay); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.99); transform-origin: top left;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med);
}
.mk-mega.right { left: auto; right: 0; transform-origin: top right; }
.mk-nav-item[data-open="true"] .mk-mega { opacity: 1; visibility: visible; transform: none; }
.mk-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; }
.mk-mega-grid.cols-1 { grid-template-columns: 1fr; }
.mk-mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 11px; transition: background var(--t-fast) var(--ease); }
.mk-mega-link:hover { background: var(--bg-hover); }
.mk-mega-ic { width: 19px; height: 19px; color: var(--ink-3); margin-top: 2px; flex-shrink: 0; transition: color var(--t-fast) var(--ease); }
.mk-mega-link:hover .mk-mega-ic { color: var(--accent); }
.mk-mega-tx b { display: block; font-size: 14px; font-weight: 580; color: var(--ink); letter-spacing: -0.01em; }
.mk-mega-tx span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.mk-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--border-subtle); }
.mk-mega-foot .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.mk-mega-col-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-4); padding: 8px 12px 6px; }

/* ---- mega v2: preview panel + image rows (Notion/ClickUp grade) ---- */
.mk-mega-wrap { display: grid; grid-template-columns: 1fr 264px; gap: 4px; align-items: stretch; }
.mk-mega-panel { border-left: 1px solid var(--border-subtle); margin-left: 10px; padding: 8px 4px 8px 16px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.mk-mega-prev { position: relative; width: 100%; aspect-ratio: 3/2; border-radius: 11px; overflow: hidden; background: var(--bg-sunken); border: 1px solid var(--border-subtle); }
.mk-mega-prev .pv { position: absolute; inset: 0; opacity: 0; transition: opacity .22s var(--ease); pointer-events: none; }
.mk-mega-prev .pv.on { opacity: 1; }
.mk-mega-prev .pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-mega-prev .pv .mock { position: absolute; inset: 0; aspect-ratio: auto; font-size: 11px; }
.mk-mega-prev .pv .mo-canvas { padding: 12px; }
.mk-mega-panel .cap b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.mk-mega-panel .cap span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.mk-mega-panel .mk-btn.link { font-size: 13px; margin-top: auto; }

/* photo-thumb link rows (Solutions) */
.mk-mega-link .mth { width: 76px; aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; flex: none; background: var(--bg-sunken); }
.mk-mega-link .mth img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.mk-mega-link.thumb { align-items: center; gap: 13px; }
.mk-mega-link.thumb:hover .mth img { transform: scale(1.06); }

/* featured article card (Resources) */
.mk-mega-feature { display: block; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--border-subtle); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease); }
.mk-mega-feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.mk-mega-feature .fimg { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-sunken); }
.mk-mega-feature .fimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.mk-mega-feature:hover .fimg img { transform: scale(1.045); }
.mk-mega-feature .fbody { padding: 11px 13px 13px; }
.mk-mega-feature .fbody .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--accent); }
.mk-mega-feature .fbody b { display: block; font-size: 13.5px; font-weight: 580; color: var(--ink); margin-top: 5px; line-height: 1.35; letter-spacing: -0.01em; }
@media (max-width: 1080px) { .mk-mega-wrap { grid-template-columns: 1fr; } .mk-mega-panel { display: none; } }

/* hamburger + mobile drawer */
.mk-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mk-drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.mk-drawer[data-open="true"] { display: block; }
.mk-drawer-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 34%, transparent); opacity: 0; transition: opacity var(--t-med) var(--ease); }
.mk-drawer[data-open="true"] .mk-drawer-scrim { opacity: 1; }
.mk-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw); background: var(--bg); border-left: 1px solid var(--border); box-shadow: var(--shadow-pop); transform: translateX(100%); transition: transform var(--t-drawer) var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.mk-drawer[data-open="true"] .mk-drawer-panel { transform: none; }
.mk-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 66px; padding-inline: 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mk-drawer-body { padding: 12px 14px 28px; }
.mk-drawer-sec { border-bottom: 1px solid var(--border-subtle); padding: 4px 0; }
.mk-drawer-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; font-size: 16px; font-weight: 540; color: var(--ink); }
.mk-drawer-sec > summary::-webkit-details-marker { display: none; }
.mk-drawer-sec[open] > summary .caret { transform: rotate(180deg); }
.mk-drawer-sec .caret { width: 16px; height: 16px; color: var(--ink-3); transition: transform var(--t-med) var(--ease); }
.mk-drawer-links { padding: 0 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.mk-drawer-links a { padding: 9px 10px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); }
.mk-drawer-links a:hover { background: var(--bg-hover); color: var(--ink); }
.mk-drawer-cta { display: flex; flex-direction: column; gap: 10px; padding: 18px 8px 4px; }

@media (max-width: 940px) {
  .mk-nav-links { display: none; }
  .mk-nav-cta .mk-nav-signin, .mk-nav-cta .mk-btn:not(.primary) { display: none; }
  .mk-burger { display: inline-flex; }
}

/* ============================================================
   LABELED PLACEHOLDER IMAGES  (swap real assets later)
   Subtle striped fill + a mono label naming the real asset,
   its aspect ratio, and the written alt text. No fake art.
   ============================================================ */
.mk-ph {
  position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 9);
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-3);
}
.mk-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--ink) 3.5%, transparent) 12px 13px);
}
.mk-ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 4px 8px;
}
.mk-ph-label {
  position: relative; z-index: 2; max-width: min(80%, 460px);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: .01em; color: var(--ink-3);
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 15px; box-shadow: var(--shadow-xs); backdrop-filter: blur(2px);
}
.mk-ph-label b { color: var(--ink-2); font-weight: 600; }
.mk-ph.round { border-radius: var(--r-2xl); }
.mk-ph.circle { border-radius: 50%; }

/* real image figure (photography) — swap-in replacement for .mk-ph */
.mk-img { position: relative; width: 100%; aspect-ratio: var(--ar, 16/9); overflow: hidden; border-radius: var(--r-lg); margin: 0; background: var(--surface-2); }
.mk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-img.flush, .hp-vcard .mk-img { border-radius: 0; }

/* rendered product motion inside the browser frame */
.mk-motion { width: 100%; height: auto; display: block; background: var(--surface-2); }

/* product screenshot inside a calm browser frame */
.mk-shot { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mk-shot-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border-subtle); background: var(--surface-2); }
.mk-shot-dots { display: flex; gap: 6px; }
.mk-shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); display: block; }
.mk-shot-url { margin-left: 8px; height: 22px; flex: 1; max-width: 320px; display: flex; align-items: center; padding: 0 12px; border-radius: 7px; background: var(--bg-sunken); font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.mk-shot .mk-ph { border: 0; border-radius: 0; }

/* ============================================================
   CARDS  (reserved for genuinely standalone objects)
   ============================================================ */
.mk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-xs); transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.mk-card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.mk-card .mk-ico { color: var(--accent); margin-bottom: 16px; }
.mk-card h3 { margin: 0 0 7px; }

/* borderless feature row (the PREFERRED collection treatment) */
.mk-feature { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.mk-feature .mk-ico { width: 24px; height: 24px; color: var(--accent); }
.mk-feature h3 { margin: 0; }
.mk-feature p { margin: 0; }

/* small flat glyph (NEVER a filled tinted tile by default) */
.mk-ico { display: inline-flex; align-items: center; justify-content: center; }
.mk-ico svg, .mk-ico .ic { width: 22px; height: 22px; }

/* numbered step (how it works) */
.mk-steps { counter-reset: step; display: grid; gap: clamp(20px, 3vw, 32px); }
.mk-step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.mk-step-n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; }
.mk-step h4 { margin: 4px 0 6px; }
.mk-step p { margin: 0; }

/* ============================================================
   STAT STRIP  — borderless, hairline-separated (Editorial Calm)
   ============================================================ */
.mk-stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mk-stat { padding: 26px 24px; }
.mk-stat + .mk-stat { border-left: 1px solid var(--border); }
.mk-stat .num { font-size: clamp(28px, 3vw, 40px); font-weight: 540; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.mk-stat .lbl { margin-top: 9px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .mk-stats { grid-template-columns: repeat(2, 1fr); }
  .mk-stat:nth-child(3) { border-left: 0; }
  .mk-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* logo cloud (placeholders) */
.mk-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); }
.mk-logos .lo { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }

/* chip / pill */
.mk-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); font-size: 13px; font-weight: 500; color: var(--ink-2); user-select: none; }
.mk-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mk-tickrow { display: flex; flex-wrap: wrap; gap: 20px; }
.mk-tick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.mk-tick .ic { color: var(--accent); width: 16px; height: 16px; }

/* quote */
.mk-quote p { font-size: clamp(19px, 2.1vw, 26px); line-height: 1.45; letter-spacing: -0.018em; color: var(--ink); margin: 0 0 22px; font-weight: 480; text-wrap: pretty; }
.mk-quote .by { display: flex; align-items: center; gap: 12px; }
.mk-quote .by .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-sunken); border: 1px solid var(--border); flex-shrink: 0; }
.mk-quote .by b { font-size: 14px; font-weight: 600; color: var(--ink); display: block; }
.mk-quote .by span { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   DARK IMMERSIVE BANDS  (use with class "dark" + data-accent="pine")
   ============================================================ */
.mk-dark { background: var(--mk-dark-bg); color: var(--ink); }
.mk-dark.deeper { background: var(--mk-dark-bg-2); }
.mk-dark .mk-shot { box-shadow: var(--shadow-pop); }
/* faint pine glow for the AI story — barely there, never a loud gradient */
.mk-dark.glow { overflow: hidden; }
.mk-dark.glow::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 70%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: .5;
}
.mk-dark .mk-container { position: relative; z-index: 1; }

/* ============================================================
   CTA BAND
   ============================================================ */
.mk-cta { text-align: center; }
.mk-cta .mk-btn-row { justify-content: center; margin-top: 28px; }

/* ============================================================
   MEGA FOOTER  — links everything for internal SEO
   ============================================================ */
.mk-footer { border-top: 1px solid var(--border); background: var(--bg-sidebar); padding-block: clamp(56px, 7vw, 88px) 36px; }
.mk-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: clamp(24px, 3vw, 40px); }
.mk-footer-brand .mk-logo { margin-bottom: 16px; }
.mk-footer-brand p { font-size: 14px; color: var(--ink-3); line-height: 1.6; max-width: 30ch; margin: 0 0 18px; }
.mk-footer-social { display: flex; gap: 8px; }
.mk-footer-social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-3); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.mk-footer-social a:hover { color: var(--accent); border-color: var(--border-strong); }
.mk-footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 14px; font-weight: 400; }
.mk-footer-col a { display: block; font-size: 14px; color: var(--ink-2); padding: 6px 0; transition: color var(--t-fast) var(--ease); }
.mk-footer-col a:hover { color: var(--accent); }
.mk-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--border); }
.mk-footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.mk-footer-bottom .legal a { font-size: 13px; color: var(--ink-3); }
.mk-footer-bottom .legal a:hover { color: var(--ink); }
.mk-footer-bottom .copy { font-size: 13px; color: var(--ink-4); }
@media (max-width: 900px) { .mk-footer-grid { grid-template-columns: 1fr 1fr 1fr; } .mk-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mk-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MOTION  — one signature easing, reveal on scroll, reduced-motion safe
   ============================================================ */
.mk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s var(--ease), transform .72s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.mk-reveal.in { opacity: 1; transform: none; }
.mk-reveal-scale { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.mk-reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mk-reveal, .mk-reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   PROSE  — article + legal reading (Notion editorial)
   ============================================================ */
.mk-prose { max-width: var(--mk-maxw-prose); }
.mk-prose > * + * { margin-top: 1.1em; }
.mk-prose p, .mk-prose li { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); }
.mk-prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 560; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.8em; }
.mk-prose h3 { font-size: 21px; font-weight: 580; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.5em; }
.mk-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mk-prose strong { color: var(--ink); font-weight: 620; }
.mk-prose ul, .mk-prose ol { padding-left: 1.3em; }
.mk-prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 1px solid var(--border-strong); color: var(--ink); font-size: 19px; }
.mk-prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--bg-sunken); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

/* ============================================================
   COMPARISON TABLE  (honest buyer's guide)
   ============================================================ */
.mk-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.mk-table th, .mk-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.mk-table thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); font-weight: 400; background: var(--surface-2); }
.mk-table tbody tr:last-child td { border-bottom: 0; }
.mk-table .row-h { font-weight: 560; color: var(--ink); }
.mk-table td .ic.yes { color: var(--accent); }
.mk-table td .ic.no { color: var(--ink-4); }
.mk-table col.is-stelaah, .mk-table .col-stelaah { background: var(--accent-soft); }
.mk-table thead .col-stelaah { color: var(--accent); }

/* ============================================================
   STYLEGUIDE-ONLY scaffolding (swatches, specimens)
   ============================================================ */
.sg-swatch { border-radius: 12px; height: 64px; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.sg-swatch-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.sg-swatch-meta { margin-top: 8px; }
.sg-swatch-meta b { display: block; font-size: 12.5px; color: var(--ink); }
.sg-swatch-meta span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.sg-block { padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.sg-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 14px; }
.sg-code { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--ink-2); background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; white-space: pre; }
.sg-code .c { color: var(--ink-4); }
.sg-code .k { color: var(--accent); }
.sg-divide { height: 1px; background: var(--border); margin: 0; }
.sg-toc { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.sg-toc a { font-size: 13.5px; color: var(--ink-3); padding: 7px 12px; border-radius: 8px; border-left: 0; }
.sg-toc a:hover { color: var(--ink); background: var(--bg-hover); }
.sg-toc a.on { color: var(--accent); background: var(--accent-soft); }
.sg-layout { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .sg-layout { grid-template-columns: 1fr; } .sg-toc { display: none; } }

.sg-do { border-top: 2px solid var(--accent); padding-top: 12px; }
.sg-dont { border-top: 2px solid var(--ink-4); padding-top: 12px; }
.sg-tag-do { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sg-tag-dont { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
