/* ============================================================================
   MACKDATA — Design System (aboard-faithful)
   Calm paper-stack: #fafafa canvas + blue-family pastel cards. No saturated
   bands. Huge tight display type. Thin monoline icons. Generous whitespace.
   Prefix: .mk-*   Tokens: --mk-*
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens --- */
:root {
  --mk-canvas:        #fafafa;   /* off-white desk surface */
  --mk-surface:       #ffffff;   /* white panels */
  --mk-ink:           #101828;   /* headings + text (near-black, warm) */
  --mk-graphite:      #667085;   /* secondary text */
  --mk-ash:           #98a2b3;   /* tertiary */
  --mk-hairline:      #ececf0;   /* soft dividers / card borders */

  --mk-blue:          #2563eb;   /* the lone saturated voice */
  --mk-blue-dark:     #1d4ed8;
  --mk-blue-deep:     #1e3a8a;
  --mk-blue-bright:   #4c6ef5;
  --mk-sky-tint:      #eff6ff;   /* soft blue wash for pills / tinted buttons */

  /* Pastel washes — blue family (rotate for rhythm) */
  --mk-wash-sky:      #e6f2fe;
  --mk-wash-powder:   #dce8ff;
  --mk-wash-indigo:   #e7e9ff;
  --mk-wash-slate:    #f1f4f9;
  --mk-wash-butter:   #fdf1cf;   /* the one warm wash, used sparingly */

  --mk-accent-amber:  #f59e0b;

  --mk-shadow-panel:  0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --mk-shadow-float:  0 8px 30px rgba(16,24,40,.12);

  --mk-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
             'Segoe UI', Roboto, sans-serif;

  --mk-max-width: 1160px;
  --mk-radius-card: 28px;
  --mk-radius-pill: 99px;
}

/* ------------------------------------------------------------------ Base --- */
.mk-site {
  margin: 0;
  background: var(--mk-canvas);
  color: var(--mk-ink);
  font-family: var(--mk-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.mk-site *, .mk-site *::before, .mk-site *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.mk-site h1, .mk-site h2, .mk-site h3, .mk-site h4, .mk-site h5, .mk-site h6 {
  margin: 0; color: var(--mk-ink); font-weight: 600;
}
.mk-site p { margin: 0; }
.mk-site img { max-width: 100%; height: auto; display: block; }
.mk-site a { color: inherit; text-decoration: none; }
.mk-site ul, .mk-site ol { margin: 0; padding: 0; list-style: none; }
.mk-i { display: block; flex-shrink: 0; }

/* ---------------------------------------------------------------- Layout --- */
.mk-container { width: 100%; max-width: var(--mk-max-width); margin-inline: auto; padding-inline: 24px; }
.mk-container--wide { max-width: 1280px; }
.mk-section { padding-block: 104px; }
.mk-section--tight { padding-block: 72px; }
.mk-center { text-align: center; }
.mk-measure { max-width: 720px; margin-inline: auto; }
.mk-measure-sm { max-width: 560px; margin-inline: auto; }
.mk-stack { display: flex; flex-direction: column; }

/* ------------------------------------------------------------ Typography --- */
.mk-display-xl {
  font-size: clamp(46px, 7.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.mk-display {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
}
.mk-heading-lg {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.mk-heading {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.mk-subheading { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; font-weight: 600; }
.mk-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--mk-graphite); font-weight: 400; }
.mk-body { font-size: 17px; line-height: 1.65; color: var(--mk-graphite); }
.mk-body-sm { font-size: 15px; line-height: 1.6; color: var(--mk-graphite); }
.mk-ink { color: var(--mk-ink); }
.mk-muted { color: var(--mk-graphite); }
.mk-strong { font-weight: 600; color: var(--mk-ink); }

.mk-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-bottom: 18px;
}

/* Announcement pill (aboard signature) */
.mk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-sky-tint);
  color: var(--mk-blue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mk-badge .mk-i { color: var(--mk-blue); }

/* ----------------------------------------------------------------- Pills --- */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px;
  border-radius: var(--mk-radius-pill);
  font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.mk-btn .mk-i { width: 18px; height: 18px; }
.mk-btn:focus-visible { outline: 2px solid var(--mk-blue); outline-offset: 3px; }
/* Note: .mk-site a { color: inherit } is 0,1,1 — button color rules are scoped
   under .mk-site so they win (0,2,0) and text colors apply correctly. */
.mk-site .mk-btn--filled { background: var(--mk-blue); color: #fff; }
.mk-site .mk-btn--filled:hover { background: var(--mk-blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.30); }
.mk-site .mk-btn--tint { background: var(--mk-sky-tint); color: var(--mk-blue); }
.mk-site .mk-btn--tint:hover { background: #dbeafe; transform: translateY(-2px); }
.mk-site .mk-btn--ghost { background: transparent; color: var(--mk-ink); border-color: var(--mk-hairline); }
.mk-site .mk-btn--ghost:hover { border-color: var(--mk-ink); transform: translateY(-2px); }
.mk-btn--sm { padding: 11px 22px; font-size: 15px; }
.mk-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.mk-btn-row.mk-center { justify-content: center; }

/* Inline text link */
.mk-link {
  color: var(--mk-blue); font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 1px solid transparent; transition: border-color .2s ease, gap .2s ease;
}
.mk-link .mk-i { width: 16px; height: 16px; }
.mk-link:hover { border-bottom-color: var(--mk-blue); gap: 10px; }

/* --------------------------------------------------------- Pastel cards --- */
.mk-wash { border-radius: var(--mk-radius-card); padding: 48px; }
.mk-wash--lg { padding: clamp(40px, 6vw, 88px); }
.mk-wash--sky    { background: var(--mk-wash-sky); }
.mk-wash--powder { background: var(--mk-wash-powder); }
.mk-wash--indigo { background: var(--mk-wash-indigo); }
.mk-wash--slate  { background: var(--mk-wash-slate); }
.mk-wash--butter { background: var(--mk-wash-butter); }

/* White product panel inside a wash */
.mk-panel {
  background: var(--mk-surface);
  border-radius: 16px;
  box-shadow: var(--mk-shadow-panel);
}

/* Hero dashboard media — teased in a big powder card, scroll scales it up.
   Card is near full-bleed & reactive (viewport-relative); the dashboard image
   stays capped so lots of powder shows around it — the aboard look. */
.mk-hero-media { width: min(1680px, 94vw); margin-inline: auto; }
.mk-hero-card {
  background: var(--mk-wash-powder);
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 6vw, 96px);
  padding-bottom: clamp(48px, 8vw, 120px);
  overflow: hidden;
}
.mk-hero-dash {
  display: block;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .18);
  transform-origin: top center;
  will-change: transform;
}
/* JS on + motion ok: start small (teased), scroll grows it to full size */
html.js .mk-hero-dash { transform: scale(0.66); }
@media (prefers-reduced-motion: reduce) { html.js .mk-hero-dash { transform: none; } }

/* Quiet card on canvas — barely-there, lots of air */
.mk-card {
  background: var(--mk-surface);
  border: 1px solid var(--mk-hairline);
  border-radius: 20px;
  padding: 36px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mk-card:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow-panel); }

/* Feature column — thin icon, no chrome, centered (aboard signature) */
.mk-feature { display: flex; flex-direction: column; gap: 14px; }
.mk-feature--center { align-items: center; text-align: center; }
.mk-feature__icon { color: var(--mk-ink); }
.mk-feature__icon .mk-i { width: 34px; height: 34px; stroke-width: 1.5; }
.mk-feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* Source line-item (data sources) — thin icon in a soft dot + label */
.mk-source { display: flex; align-items: center; gap: 13px; padding: 6px 0; }
.mk-source__dot {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--mk-sky-tint); color: var(--mk-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.mk-source__dot .mk-i { width: 20px; height: 20px; }
.mk-source span { font-weight: 500; color: var(--mk-ink); font-size: 16px; }

/* Value / checklist row — quiet */
.mk-value-row { display: flex; align-items: flex-start; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--mk-hairline); }
.mk-value-row:last-child { border-bottom: 0; }
.mk-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mk-sky-tint); color: var(--mk-blue);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.mk-check .mk-i { width: 15px; height: 15px; }

/* --------------------------------------------------------------- Grids --- */
.mk-grid { display: grid; gap: 28px; }
.mk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
/* Let columns shrink below their content's intrinsic width — without this a wide,
   non-wrapping child (e.g. the logo marquee track) blows the 1fr column out and
   squeezes the other column. */
.mk-split > * { min-width: 0; }
.mk-split--top { align-items: start; }

/* --------------------------------------------------------------- Navbar --- */
.mk-nav {
  position: fixed; top: 0; left: 0; width: 100%; height: 76px; z-index: 900;
  background: rgba(250,250,250,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--mk-hairline);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, height .3s ease;
}
.mk-nav.is-scrolled {
  height: 66px;
}
.mk-nav__inner {
  height: 100%; width: 100%; padding-inline: clamp(20px, 3vw, 44px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.mk-nav__logo img { height: 28px; width: auto; }
.mk-nav__links { display: flex; align-items: center; justify-content: center; gap: 30px; }
.mk-nav__link {
  font-size: 15px; font-weight: 500; color: var(--mk-graphite);
  transition: color .2s ease; display: inline-flex; align-items: center; gap: 6px;
}
.mk-nav__link .mk-i { width: 15px; height: 15px; }
.mk-nav__link:hover, .mk-nav__link.is-active { color: var(--mk-ink); }
.mk-nav__link.is-active { color: var(--mk-blue); }
.mk-nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }

.mk-dd { position: relative; }
.mk-dd__panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: var(--mk-surface);
  border: 1px solid var(--mk-hairline); border-radius: 18px;
  box-shadow: var(--mk-shadow-float); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.mk-dd:hover .mk-dd__panel, .mk-dd.is-open .mk-dd__panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mk-dd__item {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border-radius: 12px; font-size: 15px; color: var(--mk-graphite);
  transition: background .2s ease, color .2s ease;
}
.mk-dd__item .mk-i { width: 18px; height: 18px; color: var(--mk-blue); }
.mk-dd__item:hover, .mk-dd__item.is-active { background: var(--mk-sky-tint); color: var(--mk-blue); }
.mk-dd__item.is-active { font-weight: 600; }

.mk-nav__burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--mk-ink); }
.mk-mobile {
  display: none; position: fixed; top: 66px; left: 0; width: 100%;
  max-height: calc(100vh - 66px); overflow-y: auto;
  background: var(--mk-surface); border-bottom: 1px solid var(--mk-hairline);
  z-index: 899; padding: 16px 24px 28px;
}
.mk-mobile.is-open { display: block; }
.mk-mobile__link { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 12px; font-size: 18px; font-weight: 500; color: var(--mk-ink); }
.mk-mobile__link .mk-i { width: 20px; height: 20px; color: var(--mk-blue); }
.mk-mobile__link:hover { background: var(--mk-sky-tint); }
.mk-mobile__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 13px 12px; border-radius: 12px;
  font-size: 18px; font-weight: 500; color: var(--mk-ink); cursor: pointer; font-family: inherit;
}
.mk-mobile__toggle .mk-i { width: 18px; height: 18px; }
.mk-mobile__sub { display: none; padding-left: 14px; margin-top: 2px; }
.mk-mobile__sub.is-open { display: block; }

/* ------------------------------------------------------------ Logo stream - */
.mk-logos { width: 100%; overflow: hidden; white-space: nowrap; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.mk-logos__track { display: inline-flex; align-items: center; animation: mk-scroll 42s linear infinite; will-change: transform; }
.mk-logos:hover .mk-logos__track { animation-play-state: paused; }
.mk-logos__item { flex-shrink: 0; margin: 0 46px; display: flex; align-items: center; justify-content: center; }
/* Heights are tuned for optical balance, not raw box size: pure wordmarks get a
   shorter box, while icon/stacked/padded logos get a taller box so every visible
   mark reads at a consistent size. All are vertically centered by the track. */
.mk-logos__item img { height: 34px; width: auto; max-width: 150px; object-fit: contain; opacity: .8; transition: opacity .3s ease; }
.mk-logos__item img[src*="callrail"]             { height: 30px; }
.mk-logos__item img[src*="Successware"]          { height: 30px; }
.mk-logos__item img[src*="storis"]               { height: 40px; }
.mk-logos__item img[src*="salesforce"]           { height: 46px; }
.mk-logos__item img[src*="CallTrackingMetrics"]  { height: 44px; }
.mk-logos__item img[src*="callsource"]           { height: 50px; }
@keyframes mk-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------------------------------------------------- Chat mockup bubbles -- */
.mk-chat { display: flex; flex-direction: column; gap: 14px; }
.mk-chat__row { display: flex; }
.mk-chat__row--me { justify-content: flex-end; }
.mk-chat__bubble { max-width: 80%; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.mk-chat__bubble--me { background: var(--mk-blue); color: #fff; border-bottom-right-radius: 6px; }
.mk-chat__bubble--bot { background: #f4f6fa; color: var(--mk-ink); border-bottom-left-radius: 6px; }
.mk-chat__bubble--bot ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

/* ------------------------------------------------------------------ FAQ --- */
.mk-faq { display: flex; flex-direction: column; }
.mk-faq__item { border-bottom: 1px solid var(--mk-hairline); }
.mk-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 4px; cursor: pointer; font-weight: 600; font-size: 19px; color: var(--mk-ink); letter-spacing: -0.01em; }
.mk-faq__q .mk-i { width: 20px; height: 20px; color: var(--mk-blue); transition: transform .3s ease; }
.mk-faq__item.is-open .mk-faq__q .mk-i { transform: rotate(180deg); }
.mk-faq__a { max-height: 0; overflow: hidden; opacity: 0; padding: 0 4px; color: var(--mk-graphite); transition: max-height .35s ease, opacity .3s ease, padding .3s ease; }
.mk-faq__item.is-open .mk-faq__a { max-height: 400px; opacity: 1; padding: 0 4px 26px; }

/* ---------------------------------------------------------------- Footer --- */
.mk-footer { background: var(--mk-canvas); border-top: 1px solid var(--mk-hairline); padding-block: 72px 36px; }
.mk-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
/* The Mackdata wordmark PNG is very wide (7.3:1), so size it by WIDTH with
   height:auto — sizing by height lets max-width:100% clamp the width and squish
   it. Sits at the normal container inset (aligned with the copyright row). */
.mk-site .mk-footer__logo { width: 300px; max-width: 100%; height: auto; margin-bottom: 20px; }
.mk-footer__title { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--mk-ink); margin-bottom: 18px; }
.mk-footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.mk-footer__list a, .mk-footer__list li { color: var(--mk-graphite); display: inline-flex; align-items: center; gap: 9px; }
.mk-footer__list a:hover { color: var(--mk-blue); }
.mk-footer__list .mk-i { width: 16px; height: 16px; color: var(--mk-ash); }
.mk-footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--mk-hairline); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mk-ash); }
.mk-footer__bottom a { color: var(--mk-graphite); }
.mk-footer__bottom a:hover { color: var(--mk-blue); }

/* ---------------------------------------------------- Scroll reveal states - */
[data-reveal] { opacity: 0; will-change: transform, opacity; }
[data-reveal="up"]    { transform: translateY(26px); }
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(0.96); }
.no-js [data-reveal] { opacity: 1; transform: none; }
.mk-static [data-reveal] { opacity: 1 !important; transform: none !important; }

/* anime.js entrance reveals — start hidden; JS pops them in on scroll.
   Reveal at rest without JS / with reduced motion / in static screenshot mode. */
[data-anime] { opacity: 0; will-change: transform, opacity; }
.no-js [data-anime] { opacity: 1; }
.mk-static [data-anime] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { html.js [data-anime] { opacity: 1; } }

/* Terminal copy: per-char color reveal (see initTerminalCopy in mack-animations.js).
   The JS drives color via GSAP; this just smooths each step so the sweep reads
   as a soft "type-in" rather than a hard flip. SplitText inserts the .char spans. */
.mk-site [data-terminal-copy] .char { transition: color 150ms ease-out; }
.mk-site [data-terminal-copy] .word { white-space: nowrap; }

/* Promise section: tagline centered with generous breathing room above and
   below — fills most of the viewport but not a full screen. */
.mk-section--promise {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-block: clamp(90px, 12vh, 180px);
}
.mk-promise__content { position: relative; z-index: 1; }

/* Burst image layer (JS: initBurst) — items fan out from center in a triangle. */
.mk-promise-burst { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
html.js .mk-promise-burst { display: block; }
.mk-promise-burst__img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(240px, 26vw, 380px);
  height: auto;
  opacity: 0;
  border-radius: 14px;
  box-shadow: var(--mk-shadow-float);
  will-change: transform, opacity;
}
.mk-promise-burst__img--feature { width: clamp(320px, 33vw, 500px); }
/* Apex (Customer Journey): height-capped so it always clears the title below
   and never reaches the section's clipped top edge. */
.mk-promise-burst__img--apex { max-height: 26vh; width: auto; }

/* Why-Mackdata card grid: break out wider than the container so each title
   fits on one line at full heading size. */
.mk-why-grid { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 1200px) { .mk-why-grid { max-width: var(--mk-max-width); } }

/* ---------------------------------------------------- Mack 3D icon ---------
   WebGL canvas (three.js) is injected into this box by mack-3d.js. It spins on
   hover. Fixed square so layout is stable whether or not the model loads. */
.mk-mack-3d {
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 1 / 1;
  cursor: grab;
  touch-action: pan-y;
}
.mk-mack-3d:active { cursor: grabbing; }

/* ------------------------------------------------------- Video (demo) ------
   Product/demo video framed in a soft pastel card, matching the aboard look. */
.mk-video {
  margin: 48px auto 0;
  max-width: 1160px;
  padding: clamp(12px, 1.8vw, 22px);
  background: var(--mk-wash-powder);
  border-radius: var(--mk-radius-card);
}
/* Grow-from-center on scroll (JS: initScaleIn). Pre-scaled before JS runs so
   there's no flash of full size. */
html.js [data-scale-in] { transform: scale(0.72); transform-origin: center center; will-change: transform; }
@media (prefers-reduced-motion: reduce) { html.js [data-scale-in] { transform: none; } }
.mk-video__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--mk-radius-card) - 12px);
  background: #000;
  box-shadow: var(--mk-shadow-panel);
}

/* ---------------------------------------------- Industry sticky cards ------
   Codegrid "serious business" stacked-card look, done with native CSS sticky
   (no JS pinning) so the scroll is perfectly smooth — each full-bleed, full-
   height band sticks to the top and the next slides up and covers it.
   Tone runs light -> medium-dark across the blue family, top to bottom. */
/* Industry cards — three standalone cards (revamped, aboard). Whole card is a
   link; base chrome (border, radius, padding, hover lift) comes from .mk-card. */
.mk-icard { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.mk-icard__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--mk-sky-tint); color: var(--mk-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.mk-icard__icon .mk-i { width: 26px; height: 26px; }
.mk-icard__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--mk-ink); }
.mk-icard__title a { color: inherit; transition: color .2s ease; }
.mk-icard__title a:hover { color: var(--mk-blue); }
.mk-icard__body { color: var(--mk-graphite); line-height: 1.65; }
.mk-site .mk-icard__quote {
  margin-top: 4px; padding-left: 16px;
  border-left: 2px solid var(--mk-blue);
  font-style: italic; font-weight: 600;
  color: var(--mk-ink); line-height: 1.6;
}
/* Scoped under .mk-site so the blue wins over `.mk-site a { color: inherit }`
   (0,1,1) now that the link is an <a>; the arrow uses currentColor. */
.mk-site .mk-icard__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 10px;
  font-weight: 600; color: var(--mk-blue);
  transition: gap .2s ease;
}
.mk-icard__link:hover { gap: 12px; }
/* Align the five rows (icon / title / body / quote / link) across all three
   cards via subgrid, so each quote — and its accent bar — starts at the same
   height no matter how long the body copy runs. Positioning only; the quote's
   look is unchanged. */
.mk-icards { grid-template-rows: auto auto 1fr auto auto; row-gap: 16px; }
.mk-icards .mk-icard {
  display: grid;
  grid-template-rows: subgrid;   /* inherits the parent's 5 rows + 16px row-gap */
  grid-row: span 5;
  height: auto;
}
/* Sit each quote at the TOP of its (equalized) row so the tops line up, but keep
   its natural text height — don't let the grid stretch the accent bar taller. */
.mk-icards .mk-icard__quote { align-self: start; }
@media (max-width: 820px) {
  /* Single column below 820: drop the shared row tracks so cards don't overlap. */
  .mk-icards { grid-template-rows: none; row-gap: 28px; }
  .mk-icards .mk-icard { display: flex; grid-row: auto; }
}

/* -------------------------------------------- Interactive timeline --------
   Left-rail journey timeline. WITHOUT JS (or reduced motion) it renders as a
   static, fully-revealed timeline: every node filled, every card visible, rail
   solid blue — so content is never hidden. mack-animations.js adds `.is-interactive`
   which dims un-revealed steps and reveals them one click at a time. Space for
   every card is always reserved, so nothing reflows as steps appear. */
.mk-timeline { position: relative; max-width: 720px; margin-inline: auto; }
.mk-timeline__step { position: relative; display: flex; gap: 22px; padding-bottom: 30px; }
.mk-timeline__step:last-child { padding-bottom: 0; }
/* connector rail behind the nodes */
.mk-timeline__step::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px;
  background: var(--mk-blue); z-index: 0;
}
.mk-timeline__step:last-child::before { display: none; }
.mk-timeline__node {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mk-blue); border: 2px solid var(--mk-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.mk-timeline__node .mk-i { width: 22px; height: 22px; }
.mk-timeline__card { flex: 1; min-width: 0; padding-top: 3px; }
.mk-timeline__controls { display: none; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.mk-timeline__done { text-align: center; margin-top: 20px; }
.mk-timeline [hidden] { display: none !important; }

/* Interactive: reveal one step per click. Un-revealed steps collapse entirely
   (display:none) so the controls sit directly below the latest revealed step
   and travel down with each click — no scrolling back up. Extra padding gives
   the Next/Replay button room to breathe below the timeline. */
.mk-timeline.is-interactive { padding-bottom: 44px; }
.mk-timeline.is-interactive .mk-timeline__controls { display: flex; }
.mk-timeline.is-interactive .mk-timeline__step:not(.is-active) { display: none; }
/* The connector draws in real time: collapsed to nothing on the current (last)
   step, it grows downward (scaleY 0 → 1) once the next step reveals. */
.mk-timeline.is-interactive .mk-timeline__step::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .5s ease;
}
.mk-timeline.is-interactive .mk-timeline__step.is-active:not(.is-current)::before {
  transform: scaleY(1);
}

/* ------------------------------------------------------- Blog post cards --- */
.mk-post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mk-post__media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--mk-wash-powder);
}
.mk-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mk-post:hover .mk-post__media img { transform: scale(1.05); }
.mk-post__media--empty { display: flex; align-items: center; justify-content: center; color: var(--mk-blue); }
.mk-post__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.mk-post__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mk-graphite); }
.mk-post__meta .mk-i { width: 15px; height: 15px; }
/* Scoped under .mk-site so margin-top wins over `.mk-site h2/p { margin:0 }`
   (0,1,1) — otherwise these gaps get reset to zero. */
.mk-site .mk-post__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-top: 22px; }
.mk-post__title a { color: var(--mk-ink); transition: color .2s ease; }
.mk-post__title a:hover { color: var(--mk-blue); }
.mk-site .mk-post__excerpt { color: var(--mk-graphite); margin-top: 20px; flex: 1; }
.mk-site .mk-post__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  color: var(--mk-blue); font-weight: 600; transition: gap .2s ease;
}
.mk-post__link:hover { gap: 12px; }
.mk-post__link .mk-i { width: 17px; height: 17px; }

/* Pagination (WP paginate_links, type=list) as pills */
.mk-pagination ul.page-numbers {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.mk-pagination ul.page-numbers li { margin: 0; line-height: 1; }
.mk-site .mk-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 15px;
  border: 1px solid var(--mk-hairline); border-radius: var(--mk-radius-pill);
  color: var(--mk-ink); font-weight: 600; background: var(--mk-surface);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.mk-site .mk-pagination a.page-numbers:hover { border-color: var(--mk-blue); color: var(--mk-blue); }
.mk-site .mk-pagination .page-numbers.current { background: var(--mk-blue); border-color: var(--mk-blue); color: #fff; }
.mk-pagination .page-numbers .mk-i { width: 18px; height: 18px; }

/* ---------------------------------------------------------- Pricing cards --- */
.mk-price { display: flex; flex-direction: column; height: 100%; }
.mk-price__tier { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mk-blue); }
.mk-price__amount { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mk-price__num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--mk-ink); }
.mk-price__per { font-size: 14px; color: var(--mk-graphite); }
.mk-price__feats { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--mk-hairline); display: flex; flex-direction: column; gap: 12px; }
.mk-price__feat { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--mk-ink); }
.mk-site .mk-price__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--mk-hairline); font-size: 14px; line-height: 1.55; color: var(--mk-graphite); }

/* Pricing table — modern white card; scrolls horizontally on narrow screens. */
.mk-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mk-hairline);
  border-radius: 20px;
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-panel);
}
.mk-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.mk-table thead th {
  text-align: left; padding: 22px 26px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mk-graphite); background: var(--mk-canvas);
  border-bottom: 1px solid var(--mk-hairline); white-space: nowrap;
}
.mk-table tbody td {
  padding: 26px; font-size: 15px; line-height: 1.55; color: var(--mk-graphite);
  border-bottom: 1px solid var(--mk-hairline); vertical-align: top;
}
.mk-table tbody tr:last-child td { border-bottom: 0; }
.mk-table tbody tr { transition: background .2s ease; }
.mk-table tbody tr:hover { background: var(--mk-sky-tint); }
.mk-table__plan { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--mk-ink); }
.mk-table__price { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--mk-ink); }
.mk-table__per { display: block; margin-top: 3px; font-size: 13px; color: var(--mk-graphite); }

/* ============================================================================
   HOMEPAGE — Customer-journey story components (SaaS redesign)
   Data flows: scattered sources -> Mackdata -> one journey -> scored touchpoints
   -> real revenue. All on canvas; color enters only via pastel cards + the blue
   hub/outcome nodes (kept scarce). Nothing saturated full-bleed.
   ========================================================================== */

/* --- Product screenshot frame (large real UI, softly floated) ------------- */
.mk-shot {
  background: var(--mk-surface);
  border: 1px solid var(--mk-hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--mk-shadow-float);
}
.mk-shot img { display: block; width: 100%; }
/* A shot sitting inside a pastel wash gets a little inset breathing room. */
.mk-wash > .mk-shot { margin: 0; }

/* --- Scattered sources -> converge into Mackdata (The Problem) ------------
   Sources sit in 6 equal columns so each chip's centre lines up with one of
   the 6 fan lines below it; the fan converges to dead-centre where the hub
   overlaps it, then a solid rule drops to the outcome pill. Everything shares
   the same max-width + centre so the alignment holds at any viewport. */
.mk-converge { display: flex; flex-direction: column; align-items: center; }
.mk-converge > * { width: 100%; max-width: 940px; }
.mk-src-cloud {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.mk-src-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 14px; border-radius: var(--mk-radius-pill);
  background: var(--mk-surface); border: 1px solid var(--mk-hairline);
  box-shadow: var(--mk-shadow-panel);
  font-weight: 600; font-size: 15px; color: var(--mk-ink); white-space: nowrap;
}
.mk-src-chip .mk-i { width: 18px; height: 18px; color: var(--mk-blue); }

.mk-fan { height: 108px; display: block; margin-top: 6px; }
.mk-fan path {
  fill: none; stroke: var(--mk-blue); stroke-width: 2; opacity: .55;
  stroke-dasharray: 6 7; stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  html.js .mk-fan path { animation: mk-flow 1.1s linear infinite; }
}
@keyframes mk-flow { to { stroke-dashoffset: -26; } }

.mk-hub {
  width: auto; max-width: none; margin-top: -18px; position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 17px 30px; border-radius: 16px;
  background: var(--mk-blue); color: #fff; font-weight: 500; font-size: 18px;
  letter-spacing: -0.01em; box-shadow: 0 16px 40px rgba(37,99,235,.32);
}
.mk-hub b { font-weight: 700; }
.mk-hub .mk-i { width: 20px; height: 20px; color: #fff; }

/* Solid connector from hub down to the outcome pill */
.mk-down { width: 2px; max-width: 2px; height: 34px; background: var(--mk-blue); opacity: .55; }

.mk-pill-out {
  width: auto; max-width: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--mk-radius-pill);
  background: var(--mk-wash-sky); color: var(--mk-ink); font-weight: 600; font-size: 16px;
}
.mk-pill-out .mk-i { width: 18px; height: 18px; color: var(--mk-blue); }

@media (max-width: 760px) {
  .mk-src-cloud { grid-template-columns: repeat(2, 1fr); }
  .mk-fan { display: none; }
  .mk-hub { margin-top: 22px; }
  .mk-converge .mk-down { height: 24px; }
}

/* --- Horizontal customer-journey flow (the flagship visual) --------------- */
.mk-journey {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; padding: 6px 2px 20px; max-width: 1120px; margin-inline: auto;
}
.mk-journey__node {
  flex: 0 1 auto; width: 150px; padding: 0 4px;
  display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
}
/* Below desktop the row would overflow; allow horizontal scroll there only. */
@media (max-width: 900px) {
  .mk-journey { justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .mk-journey__node { flex: 0 0 auto; }
}
.mk-journey__icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--mk-sky-tint); color: var(--mk-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.mk-journey__icon .mk-i { width: 26px; height: 26px; }
.mk-journey__title { font-weight: 600; font-size: 15px; color: var(--mk-ink); letter-spacing: -0.01em; line-height: 1.25; }
.mk-journey__meta { font-size: 12.5px; color: var(--mk-graphite); }
.mk-journey__arrow { flex: 0 0 auto; margin-top: 24px; color: var(--mk-ash); line-height: 0; }
.mk-journey__arrow .mk-i { width: 22px; height: 22px; }
.mk-journey__node--end .mk-journey__icon {
  background: var(--mk-blue); color: #fff; box-shadow: 0 12px 28px rgba(37,99,235,.32);
}
.mk-journey__node--end .mk-journey__title { color: var(--mk-blue); }

/* --- Attribution scoring: last-click vs Mackdata multi-touch -------------- */
.mk-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.mk-scorecard {
  background: var(--mk-surface); border: 1px solid var(--mk-hairline);
  border-radius: 22px; padding: 34px; display: flex; flex-direction: column;
}
.mk-scorecard--hl { background: var(--mk-wash-powder); border-color: transparent; }
.mk-scorecard__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-graphite); }
.mk-scorecard--hl .mk-scorecard__label { color: var(--mk-blue); }
.mk-site .mk-scorecard__title { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-top: 7px; }
.mk-score { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.mk-score__row { display: grid; grid-template-columns: 88px 1fr 44px; align-items: center; gap: 14px; }
.mk-score__name { font-size: 15px; font-weight: 600; color: var(--mk-ink); }
.mk-score__track { height: 12px; border-radius: 99px; background: #e7ecf4; overflow: hidden; }
.mk-scorecard--hl .mk-score__track { background: rgba(255,255,255,.7); }
.mk-score__fill { height: 100%; border-radius: 99px; background: var(--mk-blue); width: var(--val, 0%); }
.mk-score__fill--muted { background: var(--mk-ash); }
html.js .mk-score__fill { width: 0; transition: width 1s cubic-bezier(.16,1,.3,1); }
.mk-static .mk-score__fill, .no-js .mk-score__fill { width: var(--val, 0%) !important; }
.mk-score__pct { font-size: 15px; font-weight: 700; color: var(--mk-ink); text-align: right; font-variant-numeric: tabular-nums; }
.mk-scorecard__foot {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--mk-ink); font-size: 15px;
}
.mk-scorecard__foot { border-top: 1px solid var(--mk-hairline); margin-top: 26px; }
.mk-scorecard--hl .mk-scorecard__foot { border-top-color: rgba(16,24,40,.10); }
.mk-scorecard__foot .mk-i { width: 18px; height: 18px; color: var(--mk-blue); }

/* --- Outcome flow: calls -> leads -> booked -> completed -> revenue -------- */
.mk-flow { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mk-flow__step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 24px; border-radius: 18px; min-width: 138px;
  background: var(--mk-surface); border: 1px solid var(--mk-hairline);
}
.mk-flow__step .mk-i { width: 26px; height: 26px; color: var(--mk-blue); }
.mk-flow__k { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--mk-ink); line-height: 1; }
.mk-flow__l { font-size: 12.5px; color: var(--mk-graphite); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.mk-flow__step--end { background: var(--mk-blue); border-color: transparent; box-shadow: 0 14px 34px rgba(37,99,235,.28); }
.mk-flow__step--end .mk-i, .mk-flow__step--end .mk-flow__k { color: #fff; }
.mk-flow__step--end .mk-flow__l { color: rgba(255,255,255,.82); }
.mk-flow__arrow { color: var(--mk-ash); line-height: 0; }
.mk-flow__arrow .mk-i { width: 20px; height: 20px; }

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

/* ------------------------------------------------------------- Responsive - */
@media (max-width: 960px) {
  .mk-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .mk-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mk-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .mk-nav__links { display: none; }
  .mk-nav__right .mk-nav__link { display: none; }
  .mk-nav__inner { grid-template-columns: 1fr auto; }
  .mk-nav__burger { display: inline-flex; }
  .mk-grid--3, .mk-grid--2 { grid-template-columns: 1fr; }
  .mk-section { padding-block: 72px; }
}
@media (max-width: 560px) {
  .mk-site { font-size: 16px; }
  .mk-container { padding-inline: 20px; }
  .mk-grid--4 { grid-template-columns: 1fr; }
  .mk-footer__grid { grid-template-columns: 1fr; }
  .mk-wash { padding: 28px; }
  .mk-card { padding: 26px; }
}
