/* RouteEngine public website. One family, Archivo, used across its width
   axis: wide for headlines, normal for reading, condensed for map labels.
   The palette is a survey sheet: cool paper, slate ink, water, and route
   colours that only ever mean a territory or a route. */

@font-face {
  font-family: 'Archivo';
  src: url("../fonts/archivo-variable.de2f1fe81758.woff2") format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #eef2f5;
  --paper-2: #e2e8ed;
  --sheet: #f8fafb;
  --ink: #15233b;
  --ink-2: #3f4d63;
  --rule: #cdd6de;
  --water: #c3d8e6;
  --street: #ffffff;
  --accent: #6a35e0;
  --accent-ink: #4f22b8;
  --accent-soft: #ece5fd;
  --r1: #e4572e;
  --r2: #1f9e89;
  --r3: #e9a00a;
  --r4: #6a35e0;
  --r5: #2f6fdb;
  --r6: #c2408d;
  --r7: #5c8a1d;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mk-skip { position: absolute; left: -9999px; }
.mk-skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--sheet); padding: 8px 12px; }

.mk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Type. Ratio 1.25 from 17 px. */
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font); }
.mk-h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  font-stretch: 116%;
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.mk-h1.long { max-width: 18ch; }
.mk-h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-stretch: 112%;
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.mk-h3 { font-size: 21px; font-stretch: 106%; font-weight: 680; line-height: 1.25; }
.mk-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; margin: 22px 0 0; }
.mk-prose p, .mk-prose li { max-width: 64ch; color: var(--ink-2); }
.mk-prose p { margin: 0 0 14px; }
.mk-prose ul { margin: 0 0 14px; padding-left: 20px; }
.mk-prose li { margin-bottom: 6px; }
.mk-prose strong { color: var(--ink); font-weight: 650; }
.mk-label { font-size: 13px; font-stretch: 78%; font-weight: 650; letter-spacing: .01em; color: var(--ink-2); }

/* Buttons */
.mk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 650 16px/1 var(--font); font-stretch: 104%;
  color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.mk-btn:hover { background: var(--ink); color: var(--sheet); }
.mk-btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.mk-btn.solid:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.mk-btn.small { height: 38px; padding: 0 16px; font-size: 15px; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Header */
.mk-head { position: sticky; top: 0; z-index: 30; background: rgba(238, 242, 245, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.mk-head.scrolled { border-bottom-color: var(--rule); }
.mk-head .mk-wrap { display: flex; align-items: center; gap: 28px; height: 72px; max-width: 1360px; }
.mk-head a, .mk-head .mk-btn { white-space: nowrap; }
.mk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mk-brand svg { width: 30px; height: 30px; flex: none; }
.mk-brand span { font-size: 19px; font-stretch: 118%; font-weight: 760; letter-spacing: -0.02em; }
.mk-brand span i { font-style: normal; font-weight: 520; opacity: .62; }
/* The mega menu (wide screens). Three triggers share one floating card that
   changes height and slides between panels; each page wears a route colour
   as its tone, on an icon tile, its chip and the spotlight that follows the
   pointer across its card. */
.mk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.t-r1 { --tone: var(--r1); } .t-r2 { --tone: var(--r2); } .t-r3 { --tone: var(--r3); } .t-r4 { --tone: var(--r4); }
.t-r5 { --tone: var(--r5); } .t-r6 { --tone: var(--r6); } .t-r7 { --tone: var(--r7); }
.mk-nav { margin-right: auto; }
.mk-mega a { white-space: normal; }
.mk-mega .mk-btn { white-space: nowrap; }
.mk-trigs { position: relative; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mk-trig {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; cursor: pointer; white-space: nowrap;
  font: 560 17px var(--font); color: var(--ink-2); transition: color .2s;
}
.mk-trig .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.mk-trig:hover, .mk-trig[aria-expanded="true"] { color: var(--ink); }
.mk-trig[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mk-trig.here::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.mk-trig:focus-visible { outline-offset: 0; border-radius: 999px; }
.mk-trig-glow {
  position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; pointer-events: none;
  background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule), 0 4px 14px -6px rgba(21, 35, 59, .25);
  opacity: 0; transition: opacity .2s, transform .35s cubic-bezier(.3, .9, .3, 1), width .35s cubic-bezier(.3, .9, .3, 1);
}
.mk-trig-glow.on { opacity: 1; }

.mk-scrim { position: fixed; inset: 73px 0 0; z-index: 29; background: rgba(21, 35, 59, .18); backdrop-filter: blur(3px) saturate(.9); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mk-mega-on .mk-scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
.mk-mega-on .mk-head { background: var(--paper); backdrop-filter: none; border-bottom-color: var(--rule); }

.mk-mega {
  --caret: 50%;
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(1298px, calc(100vw - 48px));
  transform: translate(-50%, -10px) scale(.98); transform-origin: var(--caret) 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
}
.mk-mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mk-mega.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition: opacity .25s, transform .4s cubic-bezier(.2, .9, .2, 1); }
.mk-mega-caret {
  position: absolute; top: -7px; left: var(--caret); width: 16px; height: 16px; margin-left: -8px; z-index: 1;
  background: var(--sheet); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); border-radius: 4px 0 0 0;
  transform: rotate(45deg); transition: left .35s cubic-bezier(.3, .9, .3, 1);
}
.mk-mega-stage {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--sheet); border: 1px solid var(--rule);
  box-shadow: 0 40px 90px -30px rgba(21, 35, 59, .45), 0 12px 30px -18px rgba(21, 35, 59, .3);
  transition: height .4s cubic-bezier(.3, .9, .3, 1);
}
/* A panel taller than the screen under the header scrolls inside the card
   (an iPad in landscape leaves about 680 px under Safari's bars). */
.mk-mega-stage { max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow: hidden auto; overscroll-behavior: contain; }
.mk-mega-stage::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--r1), var(--r3), var(--r2), var(--r5), var(--r4), var(--r6)); background-size: 200% 100%; }
.mk-mega.open .mk-mega-stage::before { animation: mk-flow 6s linear infinite; }
@keyframes mk-flow { to { background-position: -200% 0; } }

.mm-panel {
  --off: 0px;
  position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transform: translateX(var(--off));
  transition: opacity .2s, transform .38s cubic-bezier(.3, .9, .3, 1), visibility 0s .38s;
}
.mm-panel.is-active { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .3s .05s, transform .42s cubic-bezier(.2, .9, .2, 1); }
.mm-panel-body { display: grid; grid-template-columns: minmax(0, 1fr) 374px; gap: 24px; padding: 28px 26px 24px; }
.mm-panel-main { min-width: 0; }
.mm-panel-main.cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; }
.mm-kick { display: flex; align-items: center; gap: 8px; margin: 2px 4px 16px; font-size: 14px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mm-kick svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-kick .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); letter-spacing: 0; }
.mm-kick .line { font-weight: 520; letter-spacing: 0; text-transform: none; font-size: 15px; color: #6a7789; }

.mm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mm-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; gap: 14px; height: 100%; padding: 18px 40px 18px 16px; border-radius: 18px;
  text-decoration: none; color: var(--ink); border: 1px solid transparent; isolation: isolate; overflow: hidden;
  transition: background .25s, border-color .25s, box-shadow .3s, transform .3s cubic-bezier(.2, .9, .2, 1);
}
.mm-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%);
}
.mm-card::after { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tone); transform: scaleY(0); transition: transform .3s cubic-bezier(.2, .9, .2, 1); }
.mm-card:hover, .mm-card:focus-visible { background: #fff; border-color: color-mix(in srgb, var(--tone) 28%, var(--rule)); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--tone) 70%, #15233b); transform: translateY(-2px); }
.mm-card:hover::before, .mm-card:focus-visible::before { opacity: 1; }
.mm-card:hover::after, .mm-card:focus-visible::after, .mm-card[aria-current]::after { transform: scaleY(1); }
.mm-card[aria-current] { background: color-mix(in srgb, var(--tone) 6%, #fff); border-color: color-mix(in srgb, var(--tone) 22%, var(--rule)); }
.mm-card:focus-visible { outline-offset: -2px; border-radius: 18px; }

.mm-ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: color-mix(in srgb, var(--tone) 82%, #15233b);
  background: linear-gradient(140deg, color-mix(in srgb, var(--tone) 10%, #fff), color-mix(in srgb, var(--tone) 24%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent);
  transition: background .3s, color .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s;
}
.mm-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mm-ico.sm { width: 38px; height: 38px; border-radius: 11px; }
.mm-ico.sm svg { width: 19px; height: 19px; }
.mm-card:hover .mm-ico, .mm-card:focus-visible .mm-ico, .mm-row:hover .mm-ico, .mm-row:focus-visible .mm-ico, .mm-overview:hover .mm-ico {
  color: #fff; transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(140deg, color-mix(in srgb, var(--tone) 78%, #fff), var(--tone) 55%, color-mix(in srgb, var(--tone) 80%, #15233b));
  box-shadow: 0 8px 18px -8px var(--tone);
}
.mm-card:hover .mm-ico svg, .mm-row:hover .mm-ico svg, .mm-overview:hover .mm-ico svg { animation: mk-draw .7s cubic-bezier(.4, .1, .2, 1); }
@keyframes mk-draw { from { stroke-dasharray: 70; stroke-dashoffset: 70; } to { stroke-dasharray: 70; stroke-dashoffset: 0; } }

.mm-card-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mm-card-name { display: flex; align-items: center; gap: 8px; font-size: 18.5px; font-weight: 720; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.3; }
.mm-card-who { font-size: 14.5px; font-weight: 620; color: color-mix(in srgb, var(--tone) 78%, #15233b); }
.mm-card-blurb { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.mm-chip {
  align-self: flex-start; margin-top: 8px; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 650;
  color: color-mix(in srgb, var(--tone) 80%, #15233b); background: color-mix(in srgb, var(--tone) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
}
.mm-chip:empty { display: none; }
.mm-go { position: absolute; right: 14px; top: 18px; width: 18px; height: 18px; fill: none; stroke: var(--tone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s cubic-bezier(.2, .9, .2, 1); }
.mm-card:hover .mm-go, .mm-card:focus-visible .mm-go, .mm-overview:hover .mm-go, .mm-overview:focus-visible .mm-go { opacity: 1; transform: none; }

/* Capabilities as rows: the icon, the name and the line beside it. */
.mm-cards.rows .mm-card { padding-top: 16px; padding-bottom: 16px; }

/* Who it's for: compact rows in two columns, and the overview card. */
.mm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mm-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .2s, transform .3s cubic-bezier(.2, .9, .2, 1); }
.mm-row b { display: block; font-size: 17px; font-weight: 680; line-height: 1.3; }
.mm-row small { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.mm-row:hover, .mm-row:focus-visible { background: color-mix(in srgb, var(--tone) 8%, #fff); transform: translateX(3px); }
.mm-row[aria-current] b { color: var(--accent-ink); }
.mm-overview {
  position: relative; display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 40px 14px 14px; border-radius: 18px;
  text-decoration: none; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), #fff 80%); border: 1px solid #d9cdfb;
  transition: box-shadow .3s, transform .3s cubic-bezier(.2, .9, .2, 1);
}
.mm-overview b { display: block; font-size: 17px; font-weight: 720; }
.mm-overview small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.mm-overview:hover, .mm-overview:focus-visible { box-shadow: 0 14px 30px -18px var(--accent); transform: translateY(-2px); }
.mm-overview .mm-go { top: 50%; margin-top: -9px; }

/* The feature card at each panel's side. */
.mm-feature { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 22px; overflow: hidden; }
.mm-feature-h { margin: 14px 0 8px; font-size: 19.5px; font-weight: 740; font-stretch: 110%; letter-spacing: -0.01em; }
.mm-feature-p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.mm-feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 16px; font-weight: 680; text-decoration: none; }
.mm-feature-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.mm-feature-link:hover svg { transform: translateX(4px); }
.mm-feature svg.mm-hubart, .mm-feature svg.mm-routeart { display: block; width: 100%; height: auto; border-radius: 14px; }

.mm-feature.ink { color: #dfe6ee; background: radial-gradient(120% 90% at 100% 0, #2b2470 0, transparent 60%), linear-gradient(160deg, #1b2b47, #101a2d); }
.mm-feature.ink .mm-feature-h { color: #fff; margin-top: 8px; }
.mm-feature.ink .mm-feature-p { color: #b7c3d2; }
.mm-hubart .glow { animation: mk-breathe 4s ease-in-out infinite; transform-origin: 140px 75px; }
@keyframes mk-breathe { 50% { transform: scale(1.12); opacity: .7; } }
.mm-hubart .spoke { fill: none; stroke: var(--tone); stroke-opacity: .55; stroke-width: 1.6; stroke-dasharray: 3 5; animation: mk-dash 1.2s linear infinite; }
@keyframes mk-dash { to { stroke-dashoffset: -16; } }
.mm-hubart .pulse { fill: var(--tone); filter: drop-shadow(0 0 4px var(--tone)); }
.mm-hubart .node circle { fill: #15233b; stroke: var(--tone); stroke-width: 2; }
.mm-hubart .node use { fill: none; stroke: var(--tone); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mm-hubart .hub rect { fill: #fff; filter: drop-shadow(0 6px 14px rgba(106, 53, 224, .55)); }
.mm-hubart .hub text { font: 760 15px var(--font); font-stretch: 112%; fill: #15233b; }
.mm-panel.is-active .mm-hubart .node { animation: mk-pop .55s calc(.15s + var(--i) * .08s) cubic-bezier(.3, 1.6, .5, 1) both; }
.mm-hubart .node { transform-box: fill-box; }
@keyframes mk-pop { from { opacity: 0; scale: .4; } }
.mm-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; }
.mm-pills li { font-size: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #e7ecf3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mm-panel.is-active .mm-pills li { animation: mk-rise .45s calc(.25s + var(--i) * .05s) cubic-bezier(.2, .8, .2, 1) both; }

.mm-feature.sheet { background: linear-gradient(170deg, #fff, var(--paper)); border: 1px solid var(--rule); }
.mm-feature.sheet .mm-feature-p { color: var(--ink-2); }
.mm-feature.sheet .mm-feature-link { color: var(--accent-ink); }
.mm-routeart { background: var(--paper-2); }
.mm-routeart .streets path { stroke: #fff; stroke-width: 7; fill: none; }
.mm-routeart .ring { fill: color-mix(in srgb, var(--r7) 14%, transparent); stroke: var(--r7); stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 3 3; transform-origin: 50px 110px; }
.mm-routeart .ring.r2 { fill: color-mix(in srgb, var(--r7) 7%, transparent); }
.mm-panel.is-active .mm-routeart .ring { animation: mk-ring 3.6s ease-in-out infinite; }
.mm-panel.is-active .mm-routeart .ring.r2 { animation-delay: .5s; }
@keyframes mk-ring { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
.mm-routeart .run { fill: none; stroke: var(--r3); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.mm-panel.is-active .mm-routeart .run { animation: mm-run 1.6s .15s cubic-bezier(.5, .1, .3, 1) forwards; }
@keyframes mm-run { to { stroke-dashoffset: 0; } }
.mm-routeart .stops circle { fill: #fff; stroke: var(--r3); stroke-width: 2.6; transform-box: fill-box; transform-origin: center; }
.mm-panel.is-active .mm-routeart .stops circle { animation: mk-pop .45s calc(.25s + var(--i) * .16s) cubic-bezier(.3, 1.8, .5, 1) both; }
.mm-routeart .van rect { fill: var(--ink); }
.mm-routeart .depot rect { fill: var(--ink); }
.mm-routeart .depot path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm-routeart .tag { font: 700 12.5px var(--font); font-stretch: 80%; fill: #7a4b00; letter-spacing: .04em; }

.mm-feature.violet { color: var(--ink); background: radial-gradient(120% 70% at 100% 0, #e4d8ff 0, transparent 60%), linear-gradient(170deg, #f6f2ff, #fff); border: 1px solid #ddd0fb; }
.mm-feature.violet .mm-feature-h { margin-top: 0; }
.mm-matrix { width: 100%; margin-top: 10px; border-collapse: separate; border-spacing: 0 2px; font-size: 14.5px; }
.mm-matrix th[scope="col"] { padding: 0 0 6px; }
.mm-matrix th[scope="col"] svg { width: 20px; height: 20px; padding: 5px; border-radius: 9px; box-sizing: content-box; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(140deg, color-mix(in srgb, var(--tone) 75%, #fff), var(--tone)); box-shadow: 0 6px 12px -6px var(--tone); }
.mm-matrix th[scope="row"] { text-align: left; font-weight: 580; color: var(--ink-2); padding: 5px 8px 5px 8px; line-height: 1.25; border-radius: 8px 0 0 8px; }
.mm-matrix td { text-align: center; width: 38px; padding: 5px 0; }
.mm-matrix td:last-child { border-radius: 0 8px 8px 0; }
.mm-matrix tbody tr:hover th, .mm-matrix tbody tr:hover td { background: rgba(106, 53, 224, .07); }
.mm-matrix tbody tr:hover th[scope="row"] { color: var(--ink); }
.mm-dot { display: inline-block; vertical-align: middle; border-radius: 50%; }
.mm-matrix .mm-dot.v2 { width: 14px; height: 14px; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 22%, transparent); }
.mm-matrix .mm-dot.v1 { width: 12px; height: 12px; box-shadow: inset 0 0 0 2px var(--tone); }
.mm-matrix .mm-dot.v0 { width: 4px; height: 4px; background: #c4ccd6; }
.mm-panel.is-active .mm-matrix .mm-dot { animation: mk-pop .4s calc(.12s + var(--r) * .06s + var(--c) * .04s) cubic-bezier(.3, 1.8, .5, 1) both; }
.mm-matrix tr { --r: 0; }
.mm-legend { display: flex; gap: 16px; margin: auto 0 0; padding-top: 12px; font-size: 14px; color: var(--ink-2); }
.mm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mm-legend .mm-dot.v2 { width: 12px; height: 12px; background: var(--ink); }
.mm-legend .mm-dot.v1 { width: 11px; height: 11px; box-shadow: inset 0 0 0 2px var(--ink); }
.mm-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The strip along each panel's foot. */
.mm-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 26px; background: var(--paper); border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.mm-panel-foot > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.mm-panel-foot > span:first-child svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-panel-cta { display: inline-flex; align-items: center; gap: 14px; }
.mm-panel-cta .mk-btn svg { width: 16px; height: 16px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.mm-panel-cta .mk-btn:hover svg { transform: translateX(3px); }
.mm-panel-cta .mk-btn.small { height: 44px; padding: 0 19px; font-size: 17px; }
.mm-quiet { color: var(--ink); font-weight: 620; font-size: 17px; text-decoration: none; }
.mm-quiet:hover { color: var(--accent-ink); }

/* Cards rise in one after another each time a panel opens. */
.mm-panel.is-active .mm-cards > li, .mm-panel.is-active .mm-list > li { animation: mk-rise .5s calc(.06s + var(--i) * .045s) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mk-rise { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1360px) { .mm-panel-body { grid-template-columns: minmax(0, 1fr) 330px; } .mm-kick .line { display: none; } }
/* iPads in landscape (1024 to 1240 px) get the mega menu too (owner, 19
   November 2026): a narrower feature card and tighter cards keep the lines
   readable. */
@media (max-width: 1240px) {
  .mm-panel-body { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; padding: 24px 20px 20px; }
  .mm-card { padding-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-mega, .mk-mega.open, .mm-panel, .mm-panel.is-active, .mk-mega-stage, .mk-mega-caret, .mk-trig-glow, .mm-card, .mm-ico, .mm-row, .mm-overview { transition: none !important; }
  .mk-mega-stage::before, .mm-hubart .glow, .mm-hubart .spoke, .mm-routeart .ring,
  .mm-panel.is-active * , .mm-card:hover .mm-ico svg, .mm-row:hover .mm-ico svg { animation: none !important; }
  .mm-routeart .run { stroke-dashoffset: 0; }
  .mm-card:hover, .mm-row:hover, .mm-overview:hover, .mm-card:hover .mm-ico { transform: none; }
}
.mk-head-actions { display: flex; gap: 10px; align-items: center; }
.mk-head-actions .signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 8px; }
/* The menu button: three lines that turn into a cross. */
.mk-burger {
  display: none; margin-left: auto; position: relative; z-index: 2;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--rule); background: rgba(248, 250, 251, .7);
  transition: background .2s, border-color .2s;
}
.mk-burger:hover { background: var(--sheet); border-color: #b9c4ce; }
.mk-burger span {
  position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .35s cubic-bezier(.6, .05, .25, 1), opacity .2s, top .35s cubic-bezier(.6, .05, .25, 1);
}
.mk-burger span:nth-child(1) { top: 15px; }
.mk-burger span:nth-child(2) { top: 21px; width: 12px; }
.mk-burger span:nth-child(3) { top: 27px; }
.mk-open .mk-burger { background: transparent; border-color: transparent; }
.mk-open .mk-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mk-open .mk-burger span:nth-child(2) { opacity: 0; transform: translateX(6px); }
.mk-open .mk-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* The menu on small screens: the whole page, revealed from the button. */
.mk-sheet {
  position: fixed; inset: 0; z-index: 25; overflow-y: auto; overscroll-behavior: contain;
  padding: 84px var(--gut) max(24px, env(safe-area-inset-bottom)); display: none; flex-direction: column;
  background: var(--paper);
  clip-path: circle(0 at calc(100% - var(--gut) - 22px) 36px);
  visibility: hidden;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s .55s;
}
.mk-sheet.shown { display: flex; }
.mk-open .mk-sheet { clip-path: circle(150% at calc(100% - var(--gut) - 22px) 36px); visibility: visible; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mk-open .mk-head { background: var(--paper); border-bottom-color: transparent; backdrop-filter: none; }
.mk-sheet-route { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; pointer-events: none; }
.mk-sheet-route path { fill: none; stroke: var(--accent); stroke-opacity: .16; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; vector-effect: non-scaling-stroke; transition: stroke-dashoffset .1s; }
.mk-open .mk-sheet-route path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s .3s cubic-bezier(.4, .1, .2, 1); }
.mk-sheet-nav ul { list-style: none; margin: 0; padding: 0; }
.mk-sheet-nav li, .mk-sheet-foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity .2s, transform .2s;
}
.mk-open .mk-sheet-nav li, .mk-open .mk-sheet-foot {
  opacity: 1; transform: none;
  transition: opacity .45s calc(.18s + var(--i) * .05s), transform .55s calc(.18s + var(--i) * .05s) cubic-bezier(.2, .7, .2, 1);
}
.mk-sheet-nav a { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.mk-sheet-nav a .mm-ico { width: 42px; height: 42px; border-radius: 12px; }
.mk-sheet-nav a .mm-ico svg { width: 21px; height: 21px; }
.mk-sheet-nav a .txt { min-width: 0; }
.mk-sheet-nav a b { display: flex; align-items: center; gap: 8px; font-size: clamp(21px, 5.6vw, 28px); font-stretch: 110%; font-weight: 730; letter-spacing: -0.015em; line-height: 1.15; }
.mk-sheet-nav a .txt > span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.mk-sheet-nav a[aria-current] b { color: var(--accent-ink); }
.mk-sheet-nav a:active b { color: var(--accent); }
.mk-sheet-foot { position: relative; margin-top: auto; padding-top: 20px; }
.mk-sheet-foot .mk-btn { width: 100%; justify-content: center; height: 50px; font-size: 17px; }
.mk-sheet-foot p { margin: 12px 0 0; text-align: center; }
/* A short screen keeps the names and drops the lines under them. */
@media (max-height: 600px) { .mk-sheet-nav a .txt > span { display: none; } .mk-sheet-nav a { padding: 9px 0; } }
.mk-sheet-foot p a { color: var(--ink); font-weight: 600; text-decoration: none; }
html.mk-locked, html.mk-locked body { overflow: hidden; }
@media (min-width: 1024px) { .mk-sheet { display: none; } }

/* Hero */
.mk-hero { position: relative; overflow: hidden; padding: 40px 0 0; }
.mk-hero .mk-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; min-height: 640px; }
.mk-hero-copy { position: relative; z-index: 2; padding: 30px 0 60px; }
/* On two column screens the headline runs over the empty ground above the
   plate, so it takes three lines instead of six (owner, 15 November 2026),
   and the column sits a little higher so its last line stays clear of the
   plate's corner. */
@media (min-width: 1081px) {
  .mk-hero .mk-h1 { max-width: none; width: 17ch; }
  .mk-hero-copy { padding-bottom: 140px; }
}
.mk-proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--ink-2); }
.mk-proof span { display: inline-flex; align-items: center; gap: 8px; }
.mk-proof i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.mk-stage { position: relative; height: 640px; margin-right: calc(-1 * var(--gut) - 120px); }
.mk-plate {
  position: absolute; inset: 40px 0 70px 70px;
  transform: perspective(1700px) rotateX(50deg) rotateZ(-24deg) scale(1.05);
  transform-origin: 50% 55%;
  border-radius: 22px;
  background: var(--sheet);
  box-shadow:
    0 1px 0 #d4dce3, 0 2px 0 #d1d9e0, 0 3px 0 #cdd6de, 0 4px 0 #cad3db, 0 5px 0 #c6d0d8,
    0 6px 0 #c3cdd6, 0 7px 0 #c0cad3, 0 8px 0 #bcc7d0, 0 9px 0 #b9c4ce,
    0 50px 80px rgba(21, 35, 59, .28);
  overflow: hidden;
}
.mk-plate svg { display: block; width: 100%; height: 100%; }
.mk-layers {
  position: absolute; left: 6%; bottom: 8px; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: rgba(248, 250, 251, .94); border: 1px solid var(--rule); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(21, 35, 59, .12);
}
.mk-layers button {
  height: 34px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font); font-stretch: 92%; color: var(--ink-2); background: transparent;
}
.mk-layers button i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; display: inline-block; }
.mk-layers button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.mk-layers button[aria-pressed="true"] i { background: currentColor; }
.mk-tip {
  position: absolute; z-index: 4; pointer-events: none;
  background: var(--ink); color: var(--sheet); border-radius: 10px; padding: 8px 12px;
  font-size: 13px; line-height: 1.35; font-stretch: 92%; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s;
}
.mk-tip.on { opacity: 1; }
.mk-tip b { font-weight: 700; display: block; font-size: 14px; }
.mk-note { font-size: 12px; font-stretch: 80%; color: var(--ink-2); }
.mk-stage .mk-note { position: absolute; right: 150px; top: 14px; }

/* Map drawing, shared by every illustration */
.m-ground { fill: var(--sheet); }
.m-water { fill: none; stroke: var(--water); stroke-linecap: round; stroke-linejoin: round; }
.m-park { fill: #dcebd8; }
.m-street { fill: none; stroke: #dde4ea; stroke-linecap: round; }
.m-street.major { stroke: #cdd6de; }
.m-highway { fill: none; stroke: #f3d9a4; stroke-linecap: round; }
.m-postal { fill: none; stroke: var(--ink); stroke-opacity: .32; stroke-width: 1.2; stroke-dasharray: 2 5; }
.m-cell { stroke-width: 2.2; stroke-linejoin: round; }
.m-route { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.m-stem { fill: none; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; opacity: .8; }
.m-stop { stroke: #fff; stroke-width: 1.4; }
.m-reach { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 7 6; }
.m-hex { stroke: #fff; stroke-width: 1; }
.m-text { font: 650 13px var(--font); font-stretch: 70%; letter-spacing: .02em; fill: var(--ink); paint-order: stroke; stroke: var(--sheet); stroke-width: 4px; stroke-linejoin: round; }
.m-text.big { font-size: 15px; font-weight: 720; }
.m-terminal circle.ring { fill: var(--sheet); stroke: var(--ink); stroke-width: 3; }
.m-terminal circle.core { fill: var(--ink); }
.m-vehicle { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.m-trucks { opacity: 0; transition: opacity .8s; pointer-events: none; }
.m-trucks.on { opacity: 1; }
.m-truck path { stroke: rgba(21, 35, 59, .45); stroke-width: .6; stroke-linejoin: round; }
.m-truck .m-truck-shadow { fill: rgba(21, 35, 59, .2); stroke: none; }

.m-layer { transition: opacity .45s ease; }
.m-layer.off { opacity: 0; pointer-events: none; }

/* The one orchestrated moment: the hero map assembles once. */
@media (prefers-reduced-motion: no-preference) {
  .build .m-base { animation: m-fade .6s ease both; }
  .build .m-postal-layer { animation: m-fade .8s .3s ease both; }
  .build .m-cell { animation: m-cell .7s calc(.5s + var(--i) * .09s) cubic-bezier(.2, .7, .2, 1) both; transform-box: fill-box; transform-origin: center; }
  .build .m-route { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: m-draw 1.6s calc(1.1s + var(--i) * .12s) cubic-bezier(.4, .1, .2, 1) forwards; }
  .build .m-stop { animation: m-pop .35s calc(1.3s + var(--d) * 1s) ease-out both; transform-box: fill-box; transform-origin: center; }
  .build .m-reach { animation: m-ring 1s calc(2.2s + var(--i) * .18s) cubic-bezier(.2, .7, .2, 1) both; transform-box: fill-box; transform-origin: center; }
}
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-cell { from { opacity: 0; transform: scale(.94); } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@keyframes m-pop { from { opacity: 0; transform: scale(0); } }
@keyframes m-ring { from { opacity: 0; transform: scale(.4); } }

/* Sections */
.mk-band { padding: clamp(70px, 9vw, 120px) 0; }
.mk-band.sheet { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mk-band.ink { background: var(--ink); color: #dfe6ee; }
.mk-band.ink .mk-h2, .mk-band.ink .mk-h3 { color: #fff; }
.mk-band.ink p { color: #c3cedb; }
.mk-band-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.mk-band-head p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.mk-band.ink .mk-band-head p { color: #c3cedb; }

/* The pipeline: a real sequence, so it is numbered. Each step opens to say
   more with a small drawing; the others keep their number, name and a few
   lines, never folding away. Wide screens open a step across, narrow ones down. */
.mk-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr 1fr; gap: 10px; align-items: stretch; transition: grid-template-columns .55s cubic-bezier(.3, .7, .2, 1); }
.mk-step { position: relative; padding: 18px 16px 20px; border: 1px solid transparent; border-radius: 18px; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; min-width: 0; }
.mk-step:not(:last-child)::after { content: ''; position: absolute; left: 68px; right: -18px; top: 39px; border-top: 2px dashed var(--rule); z-index: 0; }
.mk-step:hover { background: rgba(255, 255, 255, .6); }
.mk-step.on { background: #fff; border-color: var(--rule); box-shadow: 0 1px 2px rgba(21, 35, 59, .05), 0 14px 34px -18px rgba(21, 35, 59, .28); cursor: default; }
.mk-step h3 { margin: 0 0 8px; font-size: 17px; font-stretch: 104%; font-weight: 680; }
.mk-step button { all: unset; display: block; cursor: pointer; border-radius: 10px; }
.mk-step button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.mk-step .no { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); border: 2px solid var(--ink); font-weight: 750; font-stretch: 110%; margin-bottom: 14px; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.mk-step:hover .no { transform: scale(1.06); }
.mk-step.on .no { background: var(--accent); border-color: var(--accent); color: #fff; transform: none; }
.mk-step .t { display: block; }
.mk-step .lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.mk-step.on .lead { display: none; }
.mk-step .more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.3, .7, .2, 1), opacity .25s; }
.mk-step .more > div { min-height: 0; overflow: hidden; }
.mk-step.on .more { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .5s cubic-bezier(.3, .7, .2, 1), opacity .4s .2s; }
.mk-step .more p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mk-step .more ul { list-style: none; margin: 0; padding: 0; }
.mk-step .more li { position: relative; padding: 6px 0 6px 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.mk-step .more li::before { content: ''; position: absolute; left: 1px; top: 15px; width: 10px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.mk-step .art { margin: 2px 0 14px; border-radius: 12px; background: var(--sheet); border: 1px solid var(--rule); overflow: hidden; aspect-ratio: 34 / 17; }
.mk-step .art svg { display: block; width: 100%; height: 100%; }
.mk-flow-hint { margin: 16px 0 0; font-size: 13px; color: var(--ink-2); }

/* The step drawings: they play each time a step opens. */
.s-art text { font: 600 11px var(--font); font-stretch: 86%; fill: var(--ink-2); }
.s-art .ink { fill: var(--ink); font-weight: 700; }
.r-art text { font-size: 9.5px; }
.s-art .draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: 0; }
.s-art.play .draw { animation: s-draw 1.1s cubic-bezier(.4, .1, .2, 1) both; animation-delay: var(--d, 0s); }
.s-art .ghost { opacity: 0; }
.s-art.play .ghost { animation: s-ghost 2.2s ease both; animation-delay: var(--d, 0s); }
.s-art.play .pop { animation: s-pop .5s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.s-art.play .move { animation: s-move .9s cubic-bezier(.5, 0, .2, 1) both; animation-delay: var(--d, 0s); }
.s-art.play .grow { animation: s-grow .7s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: left center; }
.s-art.play .fade { animation: s-fade .5s ease both; animation-delay: var(--d, 0s); }
@keyframes s-draw { from { stroke-dashoffset: var(--len, 400); } }
@keyframes s-ghost { 0% { stroke-dashoffset: var(--len, 400); opacity: .75; } 50% { stroke-dashoffset: 0; opacity: .75; } 70% { opacity: .75; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes s-pop { from { transform: scale(0); opacity: 0; } }
@keyframes s-move { from { transform: translate(var(--dx, 0), var(--dy, 0)); } }
@keyframes s-grow { from { transform: scaleX(0); } }
@keyframes s-fade { from { opacity: 0; } }

/* Insight cards: a finding, the chart it comes from and its figures. */
.mk-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mk-insight { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 22px 22px 16px; display: flex; flex-direction: column; }
.mk-insight .kick { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .01em; }
.mk-insight .claim { margin: 6px 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.mk-insight .claim b { color: var(--ink); font-weight: 700; }
.mk-insight .claim .big { display: block; font-size: clamp(32px, 3vw, 40px); font-stretch: 112%; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 4px; }
.mk-insight .chart { margin-top: auto; }
.mk-insight .chart svg { display: block; width: 100%; height: auto; }
.mk-mini text { font-size: 11.5px; }
.mk-insight details { margin-top: 10px; border-top: 1px solid var(--rule); padding-top: 8px; font-size: 13px; }
.mk-insight summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.mk-insight summary:hover { color: var(--ink); }
.mk-insight .tbl { position: absolute; left: 22px; right: 22px; overflow: auto; background: #fff; }
.mk-insight.as-table .chart { visibility: hidden; }
.mk-insight table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mk-insight th, .mk-insight td { text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--paper-2); }
.mk-insight th:first-child, .mk-insight td:first-child { text-align: left; }
.mk-insight th { font-weight: 700; color: var(--ink); position: sticky; top: 0; background: #fff; }
.mk-insights-note { margin: 18px 0 0; }

/* Routing problems, in plain words */
.mk-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mk-kind { background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; padding: 18px 18px 20px; }
.mk-kind .art { border-radius: 14px; background: #fff; border: 1px solid var(--rule); overflow: hidden; aspect-ratio: 36 / 17; margin-bottom: 16px; }
.mk-kind .art svg { display: block; width: 100%; height: 100%; }
.mk-kind .aka { font-size: 12.5px; font-weight: 650; color: var(--accent-ink); }
.mk-kind h3 { font-size: 21px; font-stretch: 106%; font-weight: 720; margin: 4px 0 6px; }
.mk-kind p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.mk-kind ul { list-style: none; margin: 0; padding: 0; }
.mk-kind li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.mk-kind li .mk-tag { grid-column: 1; margin: 1px 0 0; text-align: center; }

/* Product rows: alternate, illustration and words */
.mk-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding: 56px 0; border-top: 1px solid var(--rule); }
.mk-row:first-of-type { border-top: 0; }
.mk-row.flip > .mk-figure { order: 2; }
.mk-row .mk-h2 { font-size: clamp(28px, 3vw, 38px); }
.mk-row p { color: var(--ink-2); max-width: 50ch; }
.mk-row .more { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 2px solid var(--accent); padding-bottom: 2px; color: var(--ink); }
.mk-row .more:hover { color: var(--accent-ink); }
.mk-facts { list-style: none; margin: 18px 0 22px; padding: 0; }
.mk-facts li { padding: 9px 0 9px 26px; border-top: 1px solid var(--rule); position: relative; color: var(--ink-2); font-size: 16px; }
.mk-facts li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 2.5px; background: var(--accent); border-radius: 2px; }

.mk-figure { position: relative; margin: 0; }
.mk-figure .frame { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.mk-figure svg { display: block; width: 100%; height: auto; }
.mk-figure figcaption { margin-top: 10px; }

/* Interactive demos */
.mk-demo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.mk-demo .map { position: relative; border-right: 1px solid var(--rule); min-height: 420px; }
.mk-demo .map svg { display: block; width: 100%; height: 100%; touch-action: none; }
.mk-demo .side { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.mk-demo .side h2, .mk-demo .side h3 { font-size: 18px; }
.mk-demo .side p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.mk-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-fig { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.mk-fig b { display: block; font-size: 26px; font-stretch: 110%; font-weight: 760; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mk-fig span { font-size: 13px; color: var(--ink-2); }
.mk-fig b span { font-size: inherit; color: inherit; }
.mk-fig.good b { color: var(--r2); }
.mk-seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.mk-seg button { border: 0; background: transparent; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--font); color: var(--ink-2); }
.mk-seg button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.mk-bars { display: flex; flex-direction: column; gap: 7px; }
.mk-bar { display: grid; grid-template-columns: 42px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.mk-bar .track { height: 12px; background: var(--paper); border-radius: 6px; position: relative; overflow: hidden; }
.mk-bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; transition: width .25s ease; }
.mk-bar .tag { font-weight: 700; font-stretch: 80%; }
.mk-bar .n { text-align: right; color: var(--ink-2); }
.mk-bar .n.over { color: #b23a1a; font-weight: 700; }
.mk-bar .n.light { color: #8a6a12; font-weight: 700; }
.mk-bar .aim { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; transition: left .25s ease; }
.mk-bar .track { overflow: visible; }
.mk-bars-key { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.mk-bars-key i { display: inline-block; width: 2px; height: 12px; background: var(--ink); }
.mk-handle { cursor: grab; }
.mk-handle:active { cursor: grabbing; }
.mk-handle circle.hit { fill: transparent; }
.mk-handle:focus { outline: none; }
.mk-handle:focus-visible circle.ring { stroke: var(--accent); stroke-width: 4; }

/* GIS Analysis: routes and their route card */
.mk-rc { display: grid; grid-template-columns: minmax(0, 1fr) 430px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(21, 35, 59, .35); }
.mk-rc-map { position: relative; min-height: 520px; border-right: 1px solid var(--rule); background: var(--sheet); }
.mk-rc-map svg, .mk-imp-map svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mk-rc-side { padding: 22px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fff, var(--sheet)); }
.mk-rc-side .mk-note { margin: auto 0 0; }
.mk-rc-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk-rc-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 10px 8px; border-radius: 12px; border: 1px solid var(--rule); background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.mk-rc-chip i { width: 22px; height: 5px; border-radius: 3px; background: var(--c); }
.mk-rc-chip b { font-size: 15px; font-weight: 740; font-stretch: 105%; }
.mk-rc-chip small { font-size: 12px; color: var(--ink-2); }
.mk-rc-chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--c) 45%, var(--rule)); }
.mk-rc-chip[aria-pressed="true"] { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 30%, transparent), 0 10px 22px -14px var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.mk-rc-card { --c: var(--accent); border: 1px solid var(--rule); border-radius: 16px; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 0 rgba(21, 35, 59, .04); }
.mk-rc-card .hd { display: flex; align-items: center; gap: 10px; }
.mk-rc-card .sw { width: 12px; height: 34px; border-radius: 4px; flex: none; transition: background .3s; }
.mk-rc-card .hd b { display: block; font-size: 19px; font-weight: 760; font-stretch: 108%; }
.mk-rc-card .hd small { display: block; font-size: 13px; color: var(--ink-2); }
.mk-rc-card .tag { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mk-rc-card .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-rc-card .tiles .tile { display: flex; align-items: baseline; gap: 7px; }
.mk-rc-card .money { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-rc-card .tile { background: var(--paper); border-radius: 10px; padding: 9px 10px; min-width: 0; }
.mk-rc-card .tile b { display: block; font-size: 19px; font-weight: 760; font-stretch: 104%; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-rc-card .tile span { font-size: 12px; color: var(--ink-2); }
.mk-rc-card .money .tile { background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 20%, transparent); }
.mk-rc-card .money .tile b { font-size: 24px; color: color-mix(in srgb, var(--c) 70%, #15233b); }
.mk-rc-card .pareto { display: grid; grid-template-columns: 180px 1fr; gap: 10px; align-items: center; }
.mk-rc-card .pareto svg { width: 100%; height: auto; display: block; }
.mk-rc-card .pareto p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.mk-rc-card .pareto p b { color: var(--ink); }
.mk-rc-card .rc-par { font: 760 15px var(--font); fill: var(--ink); }
.mk-rc-card .kick { margin: 0; font-size: 12px; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.mk-rc-card .costly { list-style: none; margin: -4px 0 0; padding: 0; display: grid; gap: 5px; }
.mk-rc-card .costly li { display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: "rank stop cost" "rank note note"; column-gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--paper); }
.mk-rc-card .costly .rank { grid-area: rank; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 760; }
.mk-rc-card .costly li:first-child .rank { background: var(--c); }
.mk-rc-card .costly .stop { grid-area: stop; font-size: 14px; font-weight: 650; }
.mk-rc-card .costly b { grid-area: cost; font-size: 15px; font-variant-numeric: tabular-nums; }
.mk-rc-card .costly small { grid-area: note; font-size: 12px; color: var(--ink-2); }
.rc-hit { fill: none; stroke: transparent; stroke-width: 16; cursor: pointer; }
.rc-route { transition: opacity .4s; cursor: pointer; }
.has-pick .rc-route:not(.on) { opacity: .32; }
.rc-route.on .m-route { stroke-width: 4.6; }
.rc-num { font: 760 10.5px var(--font); fill: #fff; pointer-events: none; }
.rc-ring { fill: none; stroke-width: 2.2; stroke-dasharray: 5 4; }
.rc-tagtext { font: 700 12px var(--font); font-stretch: 92%; fill: #fff; }
.rc-lead { stroke-width: 1.5; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .rc-route.replay .rc-pop { animation: m-pop .35s var(--d) cubic-bezier(.3, 1.6, .5, 1) both; transform-box: fill-box; transform-origin: center; }
  .rc-ring { animation: rc-turn 6s linear infinite; transform-box: fill-box; transform-origin: center; }
  .rc-ring.first { animation: rc-turn 6s linear infinite, rc-pulse 1.6s ease-in-out infinite; }
  .rc-tag, .rc-lead { animation: rc-in .4s var(--d) cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes rc-turn { to { transform: rotate(360deg); } }
@keyframes rc-pulse { 50% { stroke-width: 3.6; } }
@keyframes rc-in { from { opacity: 0; } }

/* GIS Analysis: the kinds of layer a map takes */
.mk-imp { display: grid; grid-template-columns: minmax(300px, 4fr) minmax(0, 7fr); background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(21, 35, 59, .35); }
.mk-imp-panel { padding: 18px 16px; border-right: 1px solid var(--rule); background: #fff; display: flex; flex-direction: column; gap: 4px; }
.mk-imp-panel .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 6px 6px; }
.mk-imp-panel .hd b { font-size: 18px; font-weight: 760; }
.mk-imp-panel .count { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mk-imp-panel .drop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 8px; padding: 10px 12px; border: 1.5px dashed #b9c4ce; border-radius: 12px; background: var(--sheet); font-size: 12.5px; color: var(--ink-2); }
.mk-imp-panel .drop i { font-style: normal; font-weight: 760; font-size: 11.5px; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: #fff; }
.mk-imp-panel .grp { margin: 8px 6px 2px; font-size: 11.5px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; color: #6a7789; }
.mk-imp-panel .row { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font: inherit; text-align: left; color: var(--ink); overflow: hidden; transition: background .2s, opacity .3s; }
.mk-imp-panel .row:hover, .mk-imp-panel .row:focus-visible { background: color-mix(in srgb, var(--c) 8%, #fff); }
.mk-imp-panel .row .sw { width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--c); transition: background .2s; }
.mk-imp-panel .row[aria-pressed="true"] .sw { background: var(--c); }
.mk-imp-panel .row[aria-pressed="false"] .tx { opacity: .55; }
.mk-imp-panel .row .tx b { display: block; font-size: 14.5px; font-weight: 680; line-height: 1.25; }
.mk-imp-panel .row .tx small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.mk-imp-panel .row .fmt { font-style: normal; font-size: 11px; font-weight: 760; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; color: color-mix(in srgb, var(--c) 75%, #15233b); background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); white-space: nowrap; }
.mk-imp-panel .row .bar { position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; opacity: 0; }
.mk-imp-map { position: relative; min-height: 520px; }
.mk-imp-map .m-layer { transition: opacity .5s ease; }
.mk-imp-map .has-focus .m-layer:not(.hi):not(.off) { opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .mk-imp.importing .mk-imp-panel .row { opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s, background .2s; }
  .mk-imp.importing .mk-imp-panel .row.in { opacity: 1; transform: none; }
  .mk-imp.importing .mk-imp-panel .row.in .bar { animation: imp-load .7s ease-out both; }
}
@keyframes imp-load { 0% { opacity: 1; transform: scaleX(0); } 80% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@media (max-width: 1080px) {
  .mk-rc, .mk-imp { grid-template-columns: 1fr; }
  .mk-rc-map, .mk-imp-panel { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mk-imp-map { order: -1; border-bottom: 1px solid var(--rule); }
  .mk-rc-map, .mk-imp-map { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  .mk-rc-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-rc-card .pareto { grid-template-columns: 1fr; }
}

/* Layer stack (GIS) */
.mk-stack { position: relative; height: 560px; }
.mk-stack .slab {
  position: absolute; left: 12%; right: 12%; top: 150px; height: 300px;
  transform: perspective(1500px) rotateX(58deg) rotateZ(-30deg) translateZ(calc(var(--z) * var(--zs, 1) * 1px));
  transform-origin: 50% 50%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s;
  border-radius: 16px; overflow: hidden;
}
.mk-stack .slab svg { width: 100%; height: 100%; display: block; }
.mk-stack .slab.base { background: var(--sheet); box-shadow: 0 1px 0 #cdd6de, 0 2px 0 #c6d0d8, 0 3px 0 #bfcad3, 0 40px 60px rgba(21, 35, 59, .2); }
.mk-stack .slab.glass { background: rgba(255, 255, 255, .22); outline: 1px solid rgba(21, 35, 59, .14); }
.mk-stack.dim .slab:not(.lift) { opacity: .28; }
.mk-stack.compact { height: 400px; --zs: .62; }
.mk-stack.compact .slab { top: 150px; height: 220px; left: 10%; right: 10%; }
.mk-stack .slab.lift { opacity: 1; }
.mk-layer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mk-layer-list button { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; cursor: pointer; font: 560 15px/1.3 var(--font); color: var(--ink); }
.mk-layer-list button:hover, .mk-layer-list button:focus-visible, .mk-layer-list button.on { background: var(--paper); border-color: var(--rule); }
.mk-layer-list i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.mk-layer-list small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 400; }

/* Small charts */
.mk-chart text { font: 600 14px var(--font); font-stretch: 84%; fill: var(--ink-2); }
.mk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 56px; }
.mk-chart .val { fill: var(--ink); font-weight: 700; }

/* Page hero for product pages */
.mk-phero { padding: 56px 0 40px; }
.mk-phero .mk-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 50px; align-items: end; }
.mk-crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.mk-crumbs a { color: var(--ink-2); }

/* Two column feature text */
.mk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.mk-cols h3 { margin-bottom: 8px; }
.mk-cols p { margin: 0; color: var(--ink-2); font-size: 16px; }
.mk-band.ink .mk-cols p { color: #c3cedb; }
.mk-cols .glyph { width: 40px; height: 40px; margin-bottom: 14px; display: block; }

/* Constraints: a list in two columns, each row tagged by how it is held */
.mk-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 2px solid var(--ink); }
.mk-rules li { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; align-content: start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.mk-rules .art { grid-column: 1; grid-row: 1 / span 3; width: 84px; height: 84px; border-radius: 16px; background: #fff; border: 1px solid var(--rule); overflow: hidden; }
.mk-rules .art svg { display: block; width: 100%; height: 100%; }
.mk-rules h3 { grid-column: 2; font-size: 18px; font-stretch: 104%; font-weight: 680; margin: 0 0 4px; }
.mk-rules p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.mk-tag { grid-column: 2; align-self: start; justify-self: start; margin: 0 0 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; font-stretch: 90%; white-space: nowrap; }
.mk-tag.hard { background: #fde9e2; color: #9a2d10; }
.mk-tag.target { background: #fdf1d6; color: #7a5300; }
.mk-tag.built { background: #e3f3ef; color: #146b5c; }
.mk-tag.next { background: var(--accent-soft); color: var(--accent-ink); }

/* FAQ */
.mk-faq { border-top: 1px solid var(--rule); }
.mk-faq details { border-bottom: 1px solid var(--rule); }
.mk-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-stretch: 104%; font-weight: 640; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.mk-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.mk-faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* Related pages */
.mk-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.mk-related a { padding: 20px 20px 22px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mk-related a b { display: block; font-size: 18px; font-stretch: 106%; font-weight: 680; margin-bottom: 4px; }
.mk-related a span { color: var(--ink-2); font-size: 15px; }
.mk-related a:hover b { color: var(--accent-ink); }

/* Call to action */
.mk-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.mk-cta .mk-btn { border-color: #fff; color: #fff; }
.mk-cta .mk-btn:hover { background: #fff; color: var(--ink); }
.mk-cta .mk-btn.solid { border-color: var(--accent); }

/* Request a demo */
.mk-demo-page { padding: 48px 0 100px; }
.mk-demo-page > .mk-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; row-gap: 0; }
.mk-demo-intro { grid-column: 1; grid-row: 1; }
.mk-demo-steps { grid-column: 1; grid-row: 2; }
.mk-demo-page .mk-form { grid-column: 2; grid-row: 1 / span 2; }
.mk-steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; }
.mk-steps li { counter-increment: step; position: relative; padding: 0 0 26px 62px; }
.mk-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--ink); background: var(--sheet); font-weight: 750; font-stretch: 110%;
}
.mk-steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 2px; border-left: 2px dashed var(--rule); }
.mk-steps h2 { font-size: 18px; margin-bottom: 4px; }
.mk-steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.mk-privacy { display: block; max-width: 46ch; margin-top: 8px; font-size: 13px; }
.mk-form {
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px;
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(21, 35, 59, .25);
  display: flex; flex-direction: column; gap: 20px; position: relative;
}
.mk-form > .mk-h3 { font-size: 24px; }
.mk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-field label, .mk-choice legend { display: block; font-size: 14px; font-weight: 620; margin-bottom: 6px; color: var(--ink); padding: 0; }
.mk-field small, .mk-choice small { font-weight: 450; color: var(--ink-2); margin-left: 4px; }
.mk-field input, .mk-field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.mk-field textarea { resize: vertical; min-height: 96px; }
.mk-field input:focus, .mk-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mk-field.bad input, .mk-field.bad textarea { border-color: var(--r1); }
.mk-form .err { margin: 6px 0 0; font-size: 13px; color: #b23a1a; }
.mk-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.mk-choice.bad .mk-pill span { border-color: var(--r1); }
.mk-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-pill { position: relative; cursor: pointer; }
.mk-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mk-pill span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--rule); background: #fff; font-size: 14px; font-weight: 560; color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.mk-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.mk-pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.mk-form > .mk-btn { align-self: flex-start; height: 50px; padding: 0 26px; }
.mk-form-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdf0e6; color: #8a3a12; font-size: 15px; }
.mk-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mk-sent { display: block !important; max-width: 760px; padding-top: 40px; }
.mk-sent-mark { width: 96px; height: 96px; margin-bottom: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .mk-sent-mark path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: m-draw 1.1s .2s cubic-bezier(.4, .1, .2, 1) forwards; }
}

/* Footer */
.mk-foot { padding: 56px 0 40px; font-size: 15px; color: var(--ink-2); }
.mk-foot .mk-wrap { display: grid; grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); gap: 40px; }
.mk-foot h2 { font-size: 15px; font-stretch: 100%; font-weight: 700; margin-bottom: 12px; }
.mk-foot ul { list-style: none; margin: 0; padding: 0; }
.mk-foot li { margin-bottom: 8px; }
.mk-foot a { color: var(--ink-2); text-decoration: none; }
.mk-foot a:hover { color: var(--ink); text-decoration: underline; }
.mk-foot .base { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* Consent for analytics: nothing of Google loads until a visitor says yes. */
.mk-consent { position: fixed; left: 20px; bottom: 20px; z-index: 40; max-width: 430px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; box-shadow: 0 2px 4px rgba(21, 35, 59, .06), 0 20px 44px -16px rgba(21, 35, 59, .35); animation: mk-consent-in .4s cubic-bezier(.3, .7, .2, 1) both; }
.mk-consent[hidden] { display: none; }
.mk-consent h2 { font-size: 17px; font-stretch: 104%; font-weight: 700; margin: 0 0 6px; }
.mk-consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mk-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-consent .mk-btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.mk-open .mk-consent { display: none; }
.mk-linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.mk-linkbtn:hover { color: var(--ink); }
.mk-linkbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@keyframes mk-consent-in { from { opacity: 0; transform: translateY(16px); } }
@media (min-width: 861px) {
  .mk-consent { left: 50%; bottom: 14px; width: min(1100px, calc(100% - 40px)); max-width: none; transform: translateX(-50%); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; padding: 14px 18px 14px 22px; animation-name: mk-consent-up; }
  .mk-consent h2 { margin: 0 0 2px; font-size: 15px; }
  .mk-consent p { margin: 0; font-size: 13.5px; }
  .mk-consent h2, .mk-consent p { grid-column: 1; }
  .mk-consent-actions { grid-column: 2; grid-row: 1 / span 2; flex-wrap: nowrap; }
}
@keyframes mk-consent-up { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (max-width: 560px) { .mk-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } .mk-consent .mk-btn { flex: 1 1 auto; } }

@media (max-width: 1023px) {
  .mk-nav { display: none; }
  .mk-head-actions { display: none; }
  .mk-burger { display: block; }
}
@media (max-width: 1080px) {
  .mk-hero .mk-wrap { grid-template-columns: 1fr; min-height: 0; }
  .mk-hero-copy { padding-bottom: 0; }
  .mk-stage { height: 520px; margin: 0 calc(-1 * var(--gut)); }
  .mk-stage .mk-note { right: var(--gut); }
  .mk-flow { grid-template-columns: 1fr !important; gap: 6px; }
  .mk-step { padding: 14px 16px; }
  .mk-step h3 { margin: 0 0 4px; }
  .mk-step button { display: flex; align-items: center; gap: 16px; }
  .mk-step .no { margin: 0; flex: none; }
  .mk-step .lead, .mk-step .more { margin-left: 60px; }
  .mk-step .lead { -webkit-line-clamp: 2; }
  .mk-step:not(:last-child)::after { left: 37px; right: auto; top: 58px; bottom: -8px; border-top: 0; border-left: 2px dashed var(--rule); }
  .mk-step.on .more { margin-top: 4px; }
  .mk-step .art { max-width: 460px; }
  .mk-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .mk-step .more > div { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .mk-step .art { grid-row: 1 / span 2; margin-bottom: 0; }
}
@media (max-width: 860px) {
  .mk-band-head, .mk-row, .mk-phero .mk-wrap, .mk-cta, .mk-demo, .mk-pair, .mk-demo-page > .mk-wrap { grid-template-columns: 1fr; }
  .mk-row.flip > .mk-figure { order: 0; }
  .mk-demo .map { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 320px; }
  .mk-demo .map.tall { min-height: 0; }
  .mk-demo .map.tall svg { height: auto; }
  .mk-cols { grid-template-columns: 1fr; }
  .mk-rules { grid-template-columns: 1fr; }
  .mk-kinds { grid-template-columns: 1fr; }
  .mk-foot .mk-wrap { grid-template-columns: 1fr 1fr; }
  .mk-foot .mk-wrap > :first-child { grid-column: 1 / -1; }
  .mk-stack { height: 420px; }
  .mk-stack .slab { left: 4%; right: 4%; top: 110px; height: 220px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mk-plate { inset: 20px -60px 70px -60px; }
  .mk-stage { height: 430px; }
  .mk-layers { left: 12px; right: 12px; border-radius: 18px; justify-content: center; }
  .mk-layers button { padding: 0 10px 0 8px; font-size: 13px; }
  .mk-stage .mk-note { display: none; }
  .mk-related { grid-template-columns: 1fr; }
  .mk-insights { grid-template-columns: 1fr; }
  .mk-figs { grid-template-columns: 1fr 1fr; }
  .mk-fields { grid-template-columns: 1fr; }
  .mk-rules li { grid-template-columns: 64px 1fr; column-gap: 14px; }
  .mk-rules .art { width: 64px; height: 64px; border-radius: 12px; }
  .mk-kinds { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mk-demo-intro, .mk-demo-steps, .mk-demo-page .mk-form { grid-column: 1; grid-row: auto; }
  .mk-demo-page .mk-form { order: 2; margin: 28px 0 40px; }
  .mk-demo-steps { order: 3; }
  .mk-steps { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-layer, .mk-stack .slab, .mk-bar .fill, .mk-burger span, .mk-flow, .mk-step, .mk-step .more,
  .mk-sheet, .mk-open .mk-sheet, .mk-sheet-nav li, .mk-open .mk-sheet-nav li,
  .mk-sheet-foot, .mk-open .mk-sheet-foot, .mk-sheet-route path { transition: none !important; }
  .mk-consent { animation: none; }
  .s-art * { animation: none !important; }
  .m-trucks { opacity: 1; transition: none; }
}

/* One hub, an app for each team (12 November 2026). Each app keeps one
   colour wherever its card appears. */
.mk-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mk-app { --app: var(--accent); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mk-app::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--app); }
.mk-app[data-app="territory"] { --app: var(--r2); }
.mk-app[data-app="gis"] { --app: var(--r5); }
.mk-app[data-app="review"] { --app: var(--r3); }
.mk-app[data-app="analytics"] { --app: var(--r4); }
.mk-app .who { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.mk-app b { font-size: 21px; font-stretch: 108%; font-weight: 720; line-height: 1.2; }
.mk-app span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.mk-app:hover { border-color: var(--app); transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(21, 35, 59, .4); color: var(--ink); }
.mk-app:hover b { color: var(--ink); }
.mk-hub { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #dfe6ee; }
.mk-hub::before { content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 30px; background:
  linear-gradient(var(--rule), var(--rule)) calc(12.5% - 5px) 0 / 2px 100% no-repeat,
  linear-gradient(var(--rule), var(--rule)) calc(37.5% - 2px) 0 / 2px 100% no-repeat,
  linear-gradient(var(--rule), var(--rule)) calc(62.5% + 2px) 0 / 2px 100% no-repeat,
  linear-gradient(var(--rule), var(--rule)) calc(87.5% + 5px) 0 / 2px 100% no-repeat; }
.mk-hub .name { font-weight: 760; font-stretch: 110%; margin-right: 8px; color: #fff; }
.mk-hub .part { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.mk-who-links { margin: 22px 0 0; color: var(--ink-2); font-size: 15px; }

.mk-hubart { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.mk-hubart .art { border-right: 1px solid var(--rule); }
.mk-hubart .art svg { display: block; width: 100%; height: auto; }
.mk-hubart .side { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mk-hubart .side p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* A team's page: why, the questions it asks, the apps it opens. */
.mk-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.mk-why .mk-facts { margin-top: 18px; }
.mk-asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 2px solid var(--ink); }
.mk-ask { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.mk-ask h3 { margin-bottom: 8px; }
.mk-ask p { margin: 0 0 10px; color: var(--ink-2); font-size: 16px; }
.mk-ask .more { font-weight: 650; font-size: 15px; text-decoration: none; }
.mk-ask .more::after { content: ' \2192'; }

/* Who opens which app */
.mk-matrix-wrap { overflow-x: auto; }
.mk-matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.mk-matrix th, .mk-matrix td { padding: 14px 12px; border-bottom: 1px solid var(--rule); text-align: center; }
.mk-matrix thead th { border-bottom: 2px solid var(--ink); font-size: 14px; }
.mk-matrix th[scope="row"], .mk-matrix thead th:first-child { text-align: left; }
.mk-matrix a { text-decoration: none; }
.mk-matrix .own { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; font-size: 13px; }
.mk-matrix .too { display: inline-block; padding: 3px 11px; border-radius: 999px; border: 1.5px solid var(--ink-2); color: var(--ink-2); font-weight: 600; font-size: 13px; }
.mk-matrix .no::before { content: ''; display: inline-block; width: 14px; height: 2px; background: var(--rule); vertical-align: middle; }

/* Wide demos: a route's day, a stop's minutes. */
.mk-demo .map.wide { min-height: 0; display: flex; align-items: center; background: #fff; }
.mk-demo .map.wide svg { height: auto; }
.g-art text { font: 600 12px var(--font); font-stretch: 90%; fill: var(--ink-2); }
.g-art .ink { fill: var(--ink); font-weight: 700; }
.g-art .pill { font-size: 11px; fill: #fff; font-weight: 700; }
.g-art .plan { opacity: 0; transition: opacity .4s; }
.g-art.planned .plan { opacity: 1; }
.g-art .bar { transition: width .5s cubic-bezier(.3, .7, .2, 1), x .5s cubic-bezier(.3, .7, .2, 1); }

@media (max-width: 1080px) {
  .mk-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-hub::before { display: none; }
  .mk-foot .mk-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk-foot .mk-wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .mk-why, .mk-hubart { grid-template-columns: 1fr; }
  .mk-hubart .art { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mk-asks { grid-template-columns: 1fr; }
  .mk-hub::before { display: none; }
  .mk-foot .mk-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mk-apps { grid-template-columns: 1fr; }
}

/* Postal areas, then finer (territory page, 13 November 2026): tabs for
   Canada's FSAs and US ZIP codes, the made up city, and a table for each. */
.mk-postal-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 18px; border-bottom: 2px solid var(--rule); max-width: 560px; }
.mk-postal-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px 14px; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--ink-2); text-align: left; position: relative; }
.mk-postal-tabs button b { font-size: 18px; font-stretch: 108%; font-weight: 720; color: inherit; }
.mk-postal-tabs button span { font-size: 14px; }
.mk-postal-tabs button[aria-selected="true"] { color: var(--ink); }
.mk-postal-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--accent); }
.mk-postal-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.mk-postal-demo .side { gap: 16px; }
.mk-postal-demo .side > p { margin: 0; min-height: 4.6em; color: var(--ink); font-size: 15px; line-height: 1.55; }
.mk-postal-step { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); min-width: 34px; }
.mk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; cursor: pointer; font: 600 13px/1 var(--font); color: var(--ink-2); }
.mk-chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.mk-chip[aria-pressed="true"]::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.mk-postal-cols { margin-top: 36px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-postal-panel { margin-top: 40px; }
.mk-ptable { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.mk-ptable caption { text-align: left; font-weight: 720; font-stretch: 108%; font-size: 18px; padding: 0 0 12px; }
.mk-ptable th, .mk-ptable td { padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.mk-ptable tr:last-child th, .mk-ptable tr:last-child td { border-bottom: 0; }
.mk-ptable th { width: 180px; color: var(--ink-2); font-weight: 650; background: var(--paper); }
.mk-ptable td b { font-variant-numeric: tabular-nums; background: #efe9fd; color: var(--accent); padding: 1px 6px; border-radius: 5px; }
.mk-ptable tr:last-child td { font-weight: 600; }
@media (max-width: 1080px) { .mk-postal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .mk-postal-cols { grid-template-columns: 1fr; }
  .mk-ptable th { width: 120px; }
  .mk-ptable th, .mk-ptable td { padding: 12px 14px; }
}
.m-hexd { transition: fill-opacity .4s ease; }

/* The postal map by day (13 November 2026): the day controls over the map,
   deliveries, pickups, boxes and pallets as their own marks, postal areas
   that change route on a day, and the week's work as a moving heat map. */
.mk-postal-demo .map.wide { flex-direction: column; justify-content: center; }
.mk-mapbar { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; pointer-events: none; z-index: 2; }
.mk-mapbar > * { pointer-events: auto; }
.mk-mapday { background: rgba(255, 255, 255, .94); border: 1px solid var(--rule); border-radius: 14px; padding: 8px 14px 9px; box-shadow: 0 6px 18px rgba(21, 35, 59, .08); min-width: 200px; }
.mk-mapday b { display: block; font-size: 18px; font-weight: 760; font-stretch: 108%; color: var(--ink); }
.mk-mapday span { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 1px; }
.mk-daybar { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .96); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(21, 35, 59, .1); }
.mk-daybar .mk-seg { background: transparent; padding: 0; flex-wrap: nowrap; }
.mk-daybar .mk-seg button { padding: 0 12px; }
.mk-postal-step .mk-seg button { padding: 0 11px; }
.mk-play { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mk-demo .map .mk-play svg { width: 14px; height: 14px; fill: currentColor; }
.mk-play .i-pause, .mk-play[aria-pressed="true"] .i-play { display: none; }
.mk-play[aria-pressed="true"] .i-pause { display: inline; }
.mk-play:focus-visible, .mk-daybar .mk-seg button:focus-visible, .mk-week button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mk-play.hint { animation: pz-hint 1.3s ease-out 3; }
@keyframes pz-hint { from { box-shadow: 0 0 0 0 rgba(106, 53, 224, .55); } to { box-shadow: 0 0 0 14px rgba(106, 53, 224, 0); } }
.mk-maplegend { position: absolute; left: 14px; bottom: 12px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--ink-2); pointer-events: none; }
.mk-maplegend span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 3px 10px 3px 6px; }
.mk-demo .map .mk-maplegend svg { width: 20px; height: 20px; color: #46566e; overflow: visible; }
.mk-maplegend .lg-move, .mk-maplegend .lg-heat { display: none; }
.mk-maplegend.moving .lg-move, .mk-maplegend.hot .lg-heat { display: inline-flex; }
.mk-maplegend .mv { width: 22px; height: 12px; border: 2.5px dashed var(--accent); border-radius: 4px; }
.mk-maplegend .ramp { width: 44px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(253, 230, 138, .7), #fb923c, #dc2626); }

.pz-stop { transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1), color .55s ease; transition-delay: var(--dl, 0s); transform-box: fill-box; transform-origin: center; }
.pz-stop.gone { opacity: 0; transform: scale(.15); pointer-events: none; }
.pz-fill { transition: fill .6s ease; }
.pz-hex { stroke: none; transition: fill .6s ease, fill-opacity .6s ease; }
.pz-flex { stroke: var(--ink); transition: stroke .5s ease; }
.pz-pill { transition: fill .5s ease; }
.pz-code { transition: opacity .3s ease; }
.pz-move { fill: none; stroke-width: 4.5; stroke-dasharray: 11 7; stroke-linejoin: round; opacity: 0; transition: opacity .4s ease; }
.pz-move.on { opacity: 1; animation: pz-march 1.4s linear infinite; }
.pz-move.on.pulse { animation: pz-march 1.4s linear infinite, pz-pulse .9s ease-out 2; }
@keyframes pz-march { to { stroke-dashoffset: -36; } }
@keyframes pz-pulse { 0% { stroke-width: 12; stroke-opacity: .35; } 100% { stroke-width: 4.5; stroke-opacity: 1; } }
.pz-tag { opacity: 0; transform: translateY(8px); transition: opacity .35s ease .2s, transform .45s cubic-bezier(.3, 1.5, .5, 1) .2s; }
.pz-tag.on { opacity: 1; transform: none; }
.pz-wave { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.pz-wave.go { animation: pz-wave 1.1s ease-out; }
@keyframes pz-wave { from { opacity: .7; transform: scale(.4); } to { opacity: 0; transform: scale(20); } }

.mk-weekbox[hidden] { display: none; }
.mk-week-head { margin: 0 0 6px; font-size: 13px !important; font-weight: 700; color: var(--ink-2) !important; }
.mk-week { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 13px; table-layout: fixed; }
.mk-week th { font-weight: 700; color: var(--ink-2); text-align: left; font-variant-numeric: tabular-nums; }
.mk-week thead th { text-align: center; }
.mk-week thead th:first-child { width: 52px; }
.mk-week thead button { border: 0; background: transparent; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; padding: 3px 0; width: 100%; border-radius: 6px; }
.mk-week thead th.now button { background: var(--ink); color: var(--sheet); }
.mk-week td { padding: 0; }
.mk-week .sw { display: block; text-align: center; padding: 5px 0; border-radius: 6px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: background .4s, color .4s; }
.mk-week .sw.moved { background: var(--c); color: #fff; }
.mk-week td.now .sw { box-shadow: 0 0 0 2px var(--ink); }
.mk-week .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) {
  .mk-mapbar { top: 8px; left: 8px; right: 8px; }
  .mk-mapday { min-width: 0; padding: 6px 10px; }
  .mk-mapday b { font-size: 15px; }
  .mk-daybar .mk-seg button { padding: 0 8px; height: 30px; }
  .mk-play { width: 30px; height: 30px; }
  .mk-mapbar { position: static; padding: 8px 8px 0; }
  .mk-postal-demo .map.wide > svg { order: 1; }
  .mk-maplegend { position: static; order: 2; padding: 4px 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-stop, .pz-fill, .pz-hex, .pz-tag, .pz-move, .pz-pill, .pz-flex, .mk-week .sw { transition: none !important; }
  .pz-move.on, .pz-move.on.pulse, .pz-wave.go, .mk-play.hint { animation: none !important; }
}

/* The privacy policy and the security and data page (17 November 2026, legal.html). */
.mk-draft { background: #fdf0d5; border-bottom: 1px solid #f0c674; color: #6b4a0a; font-size: 15px; padding: 10px 0; }
.mk-legal-head { padding: 56px 0 36px; }
.mk-legal-head .mk-h1 { max-width: 20ch; }
.mk-legal-dated { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.mk-legal-dated a { color: var(--accent); }
.mk-band.mk-legal { padding-top: 44px; }
.mk-legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.mk-legal-toc { position: sticky; top: 96px; }
.mk-legal-toc ol { list-style: none; margin: 10px 0 0; padding: 0; border-left: 1px solid var(--rule); }
.mk-legal-toc a { display: block; padding: 5px 0 5px 14px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.mk-legal-toc a:hover { color: var(--accent); }
.mk-legal-body section { scroll-margin-top: 96px; padding-bottom: 12px; }
.mk-legal-body section + section { border-top: 1px solid var(--rule); padding-top: 28px; }
.mk-legal-h2 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
.mk-legal-body h3 { font-size: 18px; margin: 24px 0 6px; }
.mk-legal-body p, .mk-legal-body li { font-size: 17px; line-height: 1.6; max-width: 70ch; }
.mk-legal-body ul { padding-left: 22px; }
.mk-legal-body li + li { margin-top: 6px; }
.mk-legal-more { color: var(--accent); font-weight: 600; }
.mk-legal-table { overflow-x: auto; margin: 14px 0; }
.mk-legal-table table { border-collapse: collapse; width: 100%; font-size: 15.5px; background: #fff; border: 1px solid var(--rule); }
.mk-legal-table th, .mk-legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.mk-legal-table thead th { background: var(--paper); color: var(--ink); font-weight: 650; }
.mk-legal-table tbody th { color: var(--ink); font-weight: 650; min-width: 140px; }
.mk-review { max-width: 70ch; background: #fdf0d5; border-left: 3px solid #e0a12b; border-radius: 4px; padding: 10px 14px; font-size: 15px !important; color: #6b4a0a !important; }
.mk-review b { display: block; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 900px) {
  .mk-legal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mk-legal-toc { position: static; }
  .mk-legal-toc ol { columns: 2; }
}
@media (max-width: 600px) { .mk-legal-toc ol { columns: 1; } }
