/* Homepage v10 (26 Oct 2026): built from David's design canvas, brand/homepage-design/desktop.dc.html (1280) and phone.dc.html (390).
   Builds on site.css tokens and components. Classes start with m- so they do not clash with site.css.
   Mobile first: the base rules are the 390px phone. min-width queries widen it at 521, 561, 641, 760 and 861px.
   The phone header (hamburger) and the floating call pill live under max-width:759px. */

.m-sec{padding-block:36px}
.m-gap{margin-top:var(--u)}
.m-mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.m-sec .sec-h{font-size:clamp(30px,4vw,44px)}
@media (min-width:641px){.m-sec{padding-block:clamp(44px,6vw,72px)}}

/* section heading widths, as on the desktop board */
.m-h-pillars{max-width:26.2ch}
.m-h-platform{max-width:30ch}
.m-h-price{max-width:60ch}
.m-h-faq{max-width:34ch}
.m-h-next{max-width:40ch}

/* header: brand, nav and one button; on a phone the nav folds behind a 44px menu button */
.m-menu{display:none}
@media (max-width:759px){
  .site-head .wrap{gap:10px;padding-block:10px}
  .brand{font-size:17px;gap:8px}
  .site-head .btn{display:none}
  .js .m-menu{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;padding:0;border:1.5px solid var(--ink);background:var(--panel);cursor:pointer;flex:none}
  .m-menu span{display:block;width:18px;height:2px;background:var(--ink)}
  .site-nav{order:3;width:100%;display:flex;flex-direction:column;gap:0;font-size:14px;padding-top:6px;border-top:1px solid var(--line-soft)}
  .site-nav a{color:var(--ink);padding:12px 0;border-bottom:1px solid var(--line-soft)}
  .site-nav a:last-child{border-bottom:0}
  .site-nav a:hover{border-bottom-color:var(--line-soft)}
  .js .site-head:not(.is-open) .site-nav{display:none}
}

/* hero: one centred column. Headline, one line, the button, then David's video (Cloudflare Stream, 16:9) under it */
.m-hero{padding-block:28px 36px}
.m-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;justify-items:center;text-align:center}
.m-hero-grid>*{min-width:0}
.m-hero-video{position:relative;width:100%;max-width:880px;aspect-ratio:16/9;background:var(--ink);border:1px solid var(--ink)}
.m-hero-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.m-hero h1{font-size:clamp(32px,10.2vw,40px);line-height:.98;letter-spacing:-.04em;max-width:16.1ch;margin-inline:auto}
.m-hero h1 em{font-style:normal;color:var(--cobalt)}
.m-hero .lede{font-size:17px;margin-top:18px;max-width:48ch;margin-inline:auto}
.m-hero .lede b{font-weight:700;color:var(--ink)}
.m-hero .m-cta{margin-top:18px;justify-content:center}
.m-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;align-items:center}
.m-cta .btn{width:100%;max-width:100%;white-space:normal}
@media (max-width:640px){.m-cta .btn{min-height:48px}}
@media (min-width:521px){
  .m-hero h1{font-size:clamp(40px,5.4vw,68px)}
  .m-hero .lede{font-size:clamp(18px,2vw,21px);margin-top:22px}
  .m-hero .m-cta{margin-top:22px}
}
@media (min-width:641px){
  .m-hero{padding-block:clamp(36px,4.5vw,56px)}
  .m-cta{margin-top:28px}
  .m-cta .btn{width:auto}
  .m-hero .m-cta .btn{padding:16px 22px}
}
@media (min-width:760px){
  .m-hero-grid{gap:clamp(32px,4.5vw,48px)}
}

/* pillars: one white box, hairlines between the cells at any column count */
.m-pillars{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;border:1px solid var(--line);background:var(--line-soft)}
.m-pillars>div{padding:18px 16px;background:var(--panel);min-width:0}
.m-pillars .n{font-family:var(--mono);font-size:12px;color:var(--cobalt);margin-bottom:8px}
.m-pillars h3{font-size:19px;letter-spacing:-.01em;margin-bottom:6px;line-height:1.25}
.m-pillars p{font-size:17px;color:var(--muted)}
@media (min-width:641px){
  .m-pillars>div{padding:20px}
  .m-pillars p{font-size:15.5px}
}
@media (min-width:861px){.m-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* platform ribbon: a white band, window-style cards that scroll sideways and snap */
.m-platform{background:var(--panel);border-block:1px solid var(--line)}
.m-platform .lede{background:transparent;box-shadow:none;margin-top:12px}
.m-ribbon-shell{position:relative;margin-top:20px}
.m-ribbon{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;
  padding:6px var(--gutter) 18px;scroll-padding-inline:var(--gutter);overscroll-behavior-x:contain;
}
.m-ribbon::-webkit-scrollbar{display:none}
.m-ribbon:focus-visible{outline-offset:-2px}
/* edge fades: the cards run under them, so the eye reads "more to the side" without a bar */
.m-ribbon-shell::before,.m-ribbon-shell::after{content:"";position:absolute;top:0;bottom:0;width:48px;pointer-events:none;z-index:1;opacity:0;transition:opacity .2s}
.m-ribbon-shell::before{left:0;background:linear-gradient(90deg,var(--panel),rgba(255,255,255,0))}
.m-ribbon-shell::after{right:0;background:linear-gradient(270deg,var(--panel),rgba(255,255,255,0))}
.m-ribbon-shell.can-prev::before,.m-ribbon-shell.can-next::after{opacity:1}
/* under the ribbon: a thin cobalt progress line and two arrow buttons; only shown with JavaScript */
.m-ribbon-nav{display:none;align-items:center;gap:20px;margin-top:4px}
.js .m-ribbon-nav{display:flex}
.m-ribbon-track{flex:1;height:2px;background:var(--line-soft);position:relative;overflow:hidden}
.m-ribbon-thumb{position:absolute;top:0;left:0;height:100%;width:20%;background:var(--cobalt);transition:transform .25s ease,width .25s ease;will-change:transform}
.m-ribbon-btns{display:flex;gap:8px}
.m-ribbon-btn{width:44px;height:44px;border:1.5px solid var(--ink);background:var(--panel);color:var(--ink);font-size:18px;line-height:1;cursor:pointer;transition:background .15s,color .15s,opacity .15s}
.m-ribbon-btn:hover{background:var(--ink);color:var(--panel)}
.m-ribbon-btn:disabled{opacity:.3;cursor:default;background:var(--panel);color:var(--ink)}
.m-ribbon-btn:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.m-win{margin:0;flex:0 0 84%;scroll-snap-align:start;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--ink);border-top:3px solid var(--cobalt);box-shadow:0 10px 28px rgba(14,19,32,.10)}
.m-win-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line-soft);font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.m-win-bar::before{content:"";width:8px;height:8px;background:var(--cobalt);flex:none}
.m-win img{display:block;width:100%;height:200px;object-fit:cover;object-position:top left;border-bottom:1px solid var(--line-soft);background:var(--panel-soft)}
.m-win figcaption{padding:12px 14px 14px;font-size:14px;color:var(--muted);line-height:1.4}
@media (min-width:641px){
  .m-ribbon-shell{margin-top:24px}
  .m-ribbon{gap:24px;padding:8px max(var(--gutter),calc((100% - 1128px) / 2)) 24px;scroll-padding-inline:max(var(--gutter),calc((100% - 1128px) / 2))}
  .m-ribbon-shell::before,.m-ribbon-shell::after{width:96px}
  .m-ribbon-nav{margin-top:0}
  .m-win{flex-basis:min(540px,80%)}
  .m-win img{height:320px}
  .m-win figcaption{font-size:14.5px}
}

/* price: two cards on a phone, one box with two columns from 760px */
.m-price{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.m-price>div{padding:20px 16px;min-width:0;background:var(--panel);border:1px solid var(--line)}
.m-price>div:first-child{border-color:var(--ink)}
.m-price .tag{color:var(--ink)}
.m-price .big{font-family:var(--mono);font-size:clamp(40px,4.5vw,52px);font-weight:500;letter-spacing:-.03em;line-height:1;margin-top:14px}
.m-price .big small{font-size:14px;color:var(--muted);letter-spacing:0;margin-left:8px;display:inline-block}
.m-price .say{margin-top:12px;color:var(--muted)}
.m-price ul{margin:14px 0 0;padding-left:1.1em;list-style:disc;color:var(--muted);font-size:17px;display:grid;gap:6px}
.m-price .m-cta{margin-top:16px}
.m-price-note{margin-top:10px;font-size:13px;color:var(--muted)}
.m-price ul.m-gets{list-style:none;padding-left:0;color:var(--ink);gap:12px}
.m-gets li{position:relative;padding-left:28px}
.m-gets li::before{content:"\2713";position:absolute;left:0;top:0;color:var(--cobalt,#1F44FF);font-weight:700}
.m-gets b{font-weight:600}
@media (min-width:641px){
  .m-price>div{padding:24px}
  .m-price .big small{font-size:15px}
  .m-price ul{font-size:15.5px}
}
@media (min-width:760px){
  .m-price{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--ink);background:var(--panel)}
  .m-price>div,.m-price>div:first-child{border:0}
  .m-price>div+div{border-left:1px solid var(--line)}
}

/* questions */
.m-faq{list-style:none;margin:0;padding:0;border:1px solid var(--line);background:var(--panel)}
.m-faq li{padding:16px;border-top:1px solid var(--line-soft)}
.m-faq li:first-child{border-top:0}
.m-faq b{display:block;font-weight:600;margin-bottom:4px}
.m-faq p{font-size:17px;color:var(--muted)}
@media (min-width:641px){
  .m-faq li{padding:18px 20px}
  .m-faq p{font-size:15.5px}
}

/* dark band */
.m-sec.band-dark{padding-block:40px}
@media (min-width:641px){.m-sec.band-dark{padding-block:clamp(44px,6vw,72px)}}
.band-dark .sec-h em{font-style:normal;color:var(--plus)}
.band-dark .sec-h{color:#FFFFFF}
.band-dark .lede{background:transparent;box-shadow:none;color:var(--code-soft)}

/* MSP strip */
.m-sec-strip{padding-block:40px}
.m-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;border:1px solid var(--ink);background:var(--panel);padding:16px}
.m-strip>div{min-width:0;flex:1 1 320px}
.m-strip p{font-size:17px}
.m-strip .m-mono{display:block;margin-top:4px;font-size:12.5px;color:var(--muted)}
.m-strip .btn{width:100%}
@media (min-width:641px){
  .m-strip{padding:18px 22px}
  .m-strip p{font-size:16.5px}
  .m-strip .btn{width:auto}
}

/* phone only: the frosted "Book a call with David" pill, fixed at the bottom.
   Solid white by default; frosted where the browser supports backdrop-filter.
   The footer gets room underneath so the pill never covers it. */
.m-pill{display:none}
@media (max-width:759px){
  .m-pill{
    position:fixed;left:16px;right:16px;bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:20;
    display:flex;justify-content:center;align-items:center;gap:10px;min-height:52px;padding:0 20px;
    font-family:var(--mono);font-size:14px;font-weight:500;color:var(--ink);text-decoration:none;
    background:rgba(255,255,255,.96);border:1px solid rgba(14,19,32,.35);border-radius:999px;box-shadow:0 8px 24px rgba(14,19,32,.18);
  }
  .m-pill svg{flex:none}
  @supports ((-webkit-backdrop-filter:blur(14px)) or (backdrop-filter:blur(14px))){
    .m-pill{background:rgba(255,255,255,.62);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  }
  .site-foot{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}

/* anchors: alias ids for the shared header on other pages (/#get, /#why, /#about, /#pricing, /#hire), and room under the sticky header */
.m-alias{display:block;height:0}
@media (min-width:900px){main [id]{scroll-margin-top:72px}}

/* What people say (27 Oct 2026): two rows of quote cards drift in opposite directions under the video.
   Each row holds its quotes twice (the copy is aria-hidden) so the loop has no seam. Hover or focus pauses it.
   Reduced motion: no drift, one row of the real quotes that scrolls sideways by hand. */
.m-h-words{max-width:30ch}
.m-words-rows{display:grid;gap:14px;margin-top:var(--u);overflow:hidden;padding-block:4px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.m-words-track{display:flex;gap:14px;width:max-content}
.m-word{flex:none;width:280px;margin:0;padding:16px 18px;background:var(--panel);border:1px solid var(--line-soft);display:flex;flex-direction:column;gap:14px}
.m-word blockquote{margin:0;font-size:15px;line-height:1.45;color:var(--ink)}
.m-word blockquote::before{content:"\201C"}
.m-word blockquote::after{content:"\201D"}
.m-word figcaption{display:flex;align-items:center;gap:10px;margin-top:auto;font-size:13px;line-height:1.3;color:var(--muted)}
.m-word figcaption b{display:block;color:var(--ink);font-size:14px}
.m-word-av{flex:none;width:32px;height:32px;display:grid;place-items:center;background:var(--cobalt);color:var(--on-cobalt);font-weight:600;font-size:13px}
@media (min-width:641px){.m-word{width:340px}}
@media (prefers-reduced-motion:no-preference){
  .m-words-track{animation:m-words 80s linear infinite}
  .m-words-rev{animation-direction:reverse;animation-duration:95s}
  .m-words-rows:hover .m-words-track,.m-words-rows:focus-within .m-words-track{animation-play-state:paused}
}
@keyframes m-words{to{transform:translateX(calc(-50% - 7px))}}
@media (prefers-reduced-motion:reduce){
  .m-words-rows{overflow-x:auto;-webkit-mask-image:none;mask-image:none;padding-inline:var(--gutter)}
  .m-word-dup{display:none}
}

/* MSP homepage (6 Nov 2026): two lists side by side, a short note under a block, a second hero button */
.m-split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.m-split>div{padding:20px 16px;min-width:0;background:var(--panel);border:1px solid var(--line)}
.m-split>div:first-child{border-color:var(--ink)}
.m-split ul.m-gets{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:12px;font-size:17px}
.m-note{margin-top:16px;font-size:15.5px;color:var(--muted)}
.m-h-hire em{font-style:normal;color:var(--cobalt)}
.band-dark .btn-ghost{color:#FFFFFF;border-color:#FFFFFF;background:transparent}
@media (min-width:641px){.m-split>div{padding:24px}.m-split ul.m-gets{font-size:15.5px}}
@media (min-width:760px){
  .m-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--ink);background:var(--panel)}
  .m-split>div,.m-split>div:first-child{border:0}
  .m-split>div+div{border-left:1px solid var(--line)}
}
.m-ex{display:inline-block;margin-right:8px;padding:1px 6px;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--line);color:var(--muted);vertical-align:2px}

/* MSP homepage margin example (7 Nov 2026) */
.m-h-pillars em,.m-h-earn em,.m-h-path em{font-style:normal;color:var(--cobalt)}
.m-calc{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid var(--ink);background:var(--panel)}
.m-calc>div{padding:20px 16px;min-width:0}
.m-calc-in{display:grid;gap:12px}
.m-calc label{display:grid;gap:4px;font-size:15px;color:var(--muted)}
.m-calc input{font:500 18px var(--mono);color:var(--ink);padding:10px 12px;min-height:44px;border:1px solid var(--line);background:var(--paper);width:100%}
.m-calc input:focus-visible{outline:2px solid var(--cobalt);outline-offset:1px}
.m-calc-out{border-top:1px solid var(--line);display:grid;gap:10px;align-content:start}
.m-calc-out p{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.m-calc-out b{font:500 22px var(--mono)}
.m-calc-total{border-top:1px solid var(--line-soft);padding-top:12px}
.m-calc-total b{font-size:32px;color:var(--cobalt)}
.m-calc-out .m-price-note{display:block}
@media (min-width:760px){.m-calc{grid-template-columns:repeat(2,minmax(0,1fr))}.m-calc>div{padding:24px}.m-calc-out{border-top:0;border-left:1px solid var(--line)}}
.m-path{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:1px;border:1px solid var(--line);background:var(--line-soft)}
.m-path>li{padding:18px 16px;background:var(--panel);min-width:0}
.m-path .n{font-family:var(--mono);font-size:12px;color:var(--cobalt);margin-bottom:8px}
.m-path h3{font-size:19px;letter-spacing:-.01em;margin-bottom:6px;line-height:1.25}
.m-path p{font-size:17px;color:var(--muted)}
@media (min-width:641px){.m-path>li{padding:20px}.m-path p{font-size:15.5px}}
@media (min-width:861px){.m-path{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* MSP homepage v30 (7 Nov 2026): five sections from the design ideas (msp-ideas-7nov) and the "You or us?" game.
   Ported from the idea page onto the site tokens: light theme only, square corners, green only on the dark band.
   Every class starts m- so nothing clashes with /business/. The interactive parts read in full without JavaScript:
   home-msp.js sets .m-js on <html>, and only then do panels, tickets and answers hide. */
.m-h-model,.m-h-how,.m-h-support,.m-h-onsite,.m-h-questions{max-width:24ch}
.m-h-gap{max-width:26ch}
.m-h-model em,.m-h-how em,.m-h-support em,.m-h-onsite em,.m-h-questions em,.m-h-next em{font-style:normal;color:var(--cobalt)}
.band-dark .m-h-next em,.band-dark .m-h-gap em{color:var(--plus)}
.m-svgbox{width:100%;max-width:560px;margin-inline:auto}
.m-svgbox svg{display:block;width:100%;height:auto}

/* SVG paint: explicit fills from the site tokens */
svg .m-f-panel{fill:var(--panel);stroke:var(--ink);stroke-width:1.5}
svg .m-f-thick{stroke-width:2}
svg .m-f-soft{fill:var(--panel-soft);stroke:var(--line);stroke-width:1}
svg .m-f-paper{fill:var(--paper);stroke:none}
svg .m-f-edge{stroke:var(--ink);stroke-width:1.5}
svg .m-f-ink{fill:var(--ink);stroke:none}
svg .m-f-ink-ring{fill:var(--panel);stroke:var(--ink);stroke-width:2}
svg .m-f-accent{fill:var(--cobalt);stroke:var(--cobalt);stroke-width:1.5}
svg .m-f-none{fill:none;stroke:var(--line);stroke-width:1}
svg .m-ln{fill:none;stroke:var(--ink);stroke-width:1.5}
svg .m-ln-acc{fill:none;stroke:var(--cobalt);stroke-width:2}
svg .m-ln-dash{fill:none;stroke:var(--cobalt);stroke-width:2;stroke-dasharray:5 4}
svg .m-t{fill:var(--ink);font-family:var(--sans);font-size:12px}
svg .m-t-s{font-size:10.5px}
svg .m-t-b{fill:var(--ink);font-family:var(--sans);font-size:14px;font-weight:700}
svg .m-t-m{fill:var(--muted);font-family:var(--mono);font-size:10px;letter-spacing:.06em}
svg .m-t-acc{fill:var(--cobalt);font-family:var(--sans);font-size:12px;font-weight:600}
svg .m-t-on{fill:var(--on-cobalt);font-family:var(--sans);font-size:14px;font-weight:700}
svg .m-t-on-s{fill:var(--on-cobalt);font-family:var(--mono);font-size:10.5px}
svg .m-mk-ink{fill:var(--ink)}
svg .m-mk-acc{fill:var(--cobalt)}

/* idea 10: the model in one diagram, with a key beside it */
.m-one{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center}
.m-one>*{min-width:0}
@media (min-width:860px){.m-one{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}}
.m-keys{display:grid;border:1px solid var(--ink);background:var(--panel)}
.m-keys>div{padding:14px 16px;border-top:1px solid var(--line-soft)}
.m-keys>div:first-child{border-top:0}
.m-keys .tag{margin-bottom:8px}
.m-keys .m-us .tag{color:var(--cobalt)}
.m-keys p{color:var(--muted)}
.m-keys .m-cta{margin-top:4px}

/* idea 8: the gap, on the dark band */
.m-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--code-line);border:1px solid var(--code-line)}
@media (min-width:860px){.m-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
.m-stats>div{background:var(--ink);padding:14px 12px;min-width:0}
.m-stats strong{display:block;font-family:var(--mono);font-size:clamp(24px,5vw,34px);font-weight:500;color:var(--plus);letter-spacing:-.03em;line-height:1.1}
.m-stats span{display:block;margin-top:4px;font-size:13.5px;color:var(--code-muted)}
.m-gapcols{display:grid;grid-template-columns:minmax(0,1fr);margin-top:20px}
@media (min-width:860px){.m-gapcols{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr)}}
.m-gapcol{border:1px solid var(--code-line);padding:16px;min-width:0;background:var(--ink)}
.m-gapcol .tag{color:var(--code-muted);margin-bottom:12px}
.m-gapcol.m-fill{border-color:var(--plus)}
.m-gapcol.m-fill .tag{color:var(--plus)}
.m-gapcol.m-miss{border-style:dashed}
.m-gapcol ul{display:grid;gap:10px;font-size:15px;color:var(--code)}
.m-gapcol blockquote{margin:0;color:#FFFFFF;border-left:2px solid var(--plus);padding-left:10px}
.m-gapcol blockquote::before{content:"\201C"}
.m-gapcol blockquote::after{content:"\201D"}
.m-arrow{display:flex;align-items:center;justify-content:center;color:var(--plus);font-family:var(--mono);height:30px}
@media (max-width:859px){.m-arrow{transform:rotate(90deg)}}
.m-bars{display:grid;gap:14px;margin-top:20px}
.m-bar-row{display:grid;gap:6px;font-size:14px;color:var(--code-soft)}
.m-bar{height:14px;background:var(--code-line);position:relative}
.m-bar i{position:absolute;left:0;top:0;bottom:0;background:var(--plus)}
.m-bar i.m-w{background:#FFFFFF}
.m-src{margin-top:16px;font-family:var(--mono);font-size:11.5px;line-height:1.5;color:var(--code-muted)}

/* idea 2: the client path, six stops and a You do / We do panel */
.m-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--ink);background:var(--panel)}
@media (min-width:760px){.m-track{grid-template-columns:repeat(6,minmax(0,1fr))}}
.m-track button{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:72px;padding:12px 10px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);color:var(--ink);text-align:left;cursor:pointer}
.m-track button:hover{background:var(--cobalt-tint)}
.m-track button:focus-visible{outline:2px solid var(--cobalt);outline-offset:-3px}
.m-track .n{font-family:var(--mono);font-size:11.5px;color:var(--cobalt)}
.m-track b{font-size:14.5px;line-height:1.2;font-weight:600}
.m-track button[aria-pressed="true"]{background:var(--ink);color:var(--panel)}
.m-track button[aria-pressed="true"] .n,.m-track button[aria-pressed="true"] .m-who i.m-us{color:inherit}
.m-who{display:flex;gap:4px;flex-wrap:wrap}
.m-who i{font-style:normal;font-family:var(--mono);font-size:10px;padding:0 4px;border:1px solid currentColor;line-height:1.5}
.m-who i.m-us{color:var(--cobalt)}
.m-steps{display:grid;gap:16px}
.m-step-panel{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid var(--ink);background:var(--panel)}
.m-step-panel>div{padding:18px 16px;min-width:0}
.m-step-panel>div+div{border-top:1px solid var(--line)}
@media (min-width:760px){
  .m-step-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .m-step-panel>div{padding:22px 24px}
  .m-step-panel>div+div{border-top:0;border-left:1px solid var(--line)}
}
.m-step-panel h3{font-size:20px;letter-spacing:-.02em;margin-top:10px}
.m-step-panel p{margin-top:6px;color:var(--muted)}
.m-step-panel .tag.m-us{color:var(--cobalt)}
html:not(.m-js) .m-track{display:none}
html:not(.m-js) .m-steps{margin-top:var(--u)}
.m-js .m-steps{gap:0}
.m-js .m-step-panel{border-top:0}
.m-js .m-step-panel:not(.is-on){display:none}

/* idea 5: support lines, pick a ticket and see where it stops */
.m-tickets{display:flex;flex-wrap:wrap;gap:8px;margin-top:var(--u)}
.m-tickets button{min-height:44px;padding:9px 12px;border:1px solid var(--ink);background:var(--panel);color:var(--ink);font-size:15px;text-align:left;cursor:pointer}
.m-tickets button:hover{background:var(--cobalt-tint)}
.m-tickets button[aria-pressed="true"]{background:var(--ink);color:var(--panel)}
html:not(.m-js) .m-tickets,html:not(.m-js) .m-outcome{display:none}
.m-lines{display:grid;margin-top:18px}
.m-line{display:grid;grid-template-columns:64px minmax(0,1fr);border:1px solid var(--ink);background:var(--panel)}
.m-lv{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 4px;border-right:1px solid var(--ink);font-family:var(--mono);font-size:11px;line-height:1.2;text-align:center}
.m-lv strong{font-size:22px;font-weight:500}
.m-body{padding:12px 14px;min-width:0}
.m-body b{font-size:17px}
.m-body p{margin-top:2px;font-size:15px;color:var(--muted)}
.m-owner{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.m-line.m-mn .m-lv{background:var(--cobalt-tint);color:var(--cobalt)}
.m-line.m-david .m-lv{background:var(--cobalt);color:var(--on-cobalt)}
.m-stop{display:none;margin-top:6px;font-family:var(--mono);font-size:12px;color:var(--cobalt)}
.m-down{height:14px;margin-left:31px;border-left:2px solid var(--ink)}
.m-lines[data-sel] .m-line,.m-lines[data-sel] .m-down{opacity:.5}
.m-lines[data-sel] .m-line.m-hit,.m-lines[data-sel] .m-down.m-hit{opacity:1}
.m-lines[data-sel] .m-down.m-hit{border-left-color:var(--cobalt)}
.m-lines[data-sel] .m-line.m-end{box-shadow:inset 4px 0 0 var(--cobalt)}
.m-lines[data-sel] .m-line.m-end .m-stop{display:block}
.m-outcome{min-height:1.6em;margin-top:12px;font-weight:600}

/* idea 6: David on site, a floor plan and a vendor tool against David */
.m-site-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center}
.m-site-grid>*{min-width:0}
@media (min-width:860px){.m-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.m-vs{border:1px solid var(--ink);background:var(--panel);font-size:15px}
.m-vs-r{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.m-vs-r+.m-vs-r{border-top:1px solid var(--line-soft)}
.m-vs-r>div{padding:10px 12px;min-width:0}
.m-vs-r>div:first-child{border-right:1px solid var(--line)}
.m-vs-h{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.m-vs-h.m-us{color:var(--cobalt)}
.m-them{color:var(--muted)}

/* "You or us?": sort each job, then the answer shows. Without JavaScript every answer shows and the buttons hide */
.m-sort{list-style:none;margin:0;padding:0 16px;border:1px solid var(--ink);background:var(--panel)}
.m-srt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:12px 0;border-top:1px solid var(--line-soft)}
.m-srt:first-child{border-top:0}
.m-tt{font-weight:600;min-width:0}
.m-pick{display:flex;gap:6px}
.m-pick .btn{min-width:64px}
.m-pick .btn[aria-disabled="true"]{cursor:default}
.m-pick .btn[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--panel)}
.m-res{grid-column:1/-1;font-size:15px;color:var(--muted)}
.m-ans{font-family:var(--mono);font-size:13px;color:var(--cobalt)}
html:not(.m-js) .m-pick,html:not(.m-js) .m-js-only{display:none}
.m-js .m-srt:not(.m-done) .m-res{display:none}
.m-srt.m-right .m-ans::before{content:"Right. "}
.m-srt.m-wrong .m-ans::before{content:"Not quite. "}
.m-srt.m-wrong .m-ans{color:var(--ink)}
.m-sort-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.m-score{font-family:var(--mono);font-size:13px;color:var(--muted)}
@media (max-width:520px){.m-srt{grid-template-columns:minmax(0,1fr)}}
@media (min-width:641px){.m-sort{padding:0 20px}}

@media (prefers-reduced-motion:no-preference){.m-line,.m-down{transition:opacity .2s}}
