/* Small fixes on top of the page designs */
/* The menu button holds two icons (open/close); show only one at a time.
   Without this, the inline "display:contents" beat the hidden attribute and both showed. */
[hidden] { display: none !important; }
/* Narrow phones: keep the logo, Get app and menu button on one row, inside the screen. */
@media (max-width: 400px) {
  header > div { padding-left: 14px !important; padding-right: 14px !important; column-gap: 10px !important; }
  header > div > a:first-child { gap: 8px !important; min-width: 0; }
  header > div > a:first-child > svg { width: 30px; height: 25px; }
  header .mm-word { font-size: 22px !important; letter-spacing: 0.04em !important; }
  header .mm-word + span { font-size: 10px !important; letter-spacing: 0.06em !important; }
  header .mm-cta { padding: 10px 12px !important; }
  header .mm-toggle { width: 44px !important; height: 44px !important; }
}
[aria-disabled="true"] { pointer-events: none; }
:focus-visible { outline: 3px solid #F4C20D; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
html { scroll-behavior: smooth; }
/* keep screen-reader-only labels inside scrolling tables from widening the page */
[style*="overflow-x: auto"] { position: relative; }

/* Site search (search.js) */
.mm-search-btn { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 2px solid #3A3E45; border-radius: 4px; color: #FFFFFF; cursor: pointer; padding: 0; }
.mm-links .mm-search-menu { display: none; }
.mm-search-menu { align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: none; border-bottom: 1px solid #3A3E45; color: #FFFFFF; font: inherit; font-weight: 600; font-size: 18px; padding: 15px 4px; cursor: pointer; }
@media (max-width: 560px) {
  .mm-search-btn { display: none; }
  .mm-links.is-open .mm-search-menu { display: flex; }
}
#site-search { border-top: 1px solid #3A3E45; background: #16181B; }
#site-search .ss-inner { max-width: 1240px; margin: 0 auto; padding: 20px 20px 28px; box-sizing: border-box; }
#site-search .ss-label { display: block; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: #F4C20D; margin-bottom: 8px; }
#site-search .ss-row { display: flex; gap: 10px; align-items: stretch; }
#site-search .ss-field { position: relative; flex: 1 1 auto; min-width: 0; }
#site-search .ss-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
#site-search input { font: inherit; font-size: 18px; width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px 12px 46px; border: 2px solid #FFFFFF; border-radius: 4px; background: #FFFFFF; color: #16181B; }
#site-search .ss-close { flex: none; min-height: 52px; padding: 0 18px; background: transparent; color: #FFFFFF; border: 2px solid #5A606A; border-radius: 4px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
#site-search .ss-status { margin: 14px 0 10px; font-size: 15px; font-weight: 600; color: #C9CDD3; }
#site-search .ss-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }
#site-search .ss-list li { display: flex; }
#site-search .ss-result { flex: 1; display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; color: #16181B; text-decoration: none; border: 2px solid #FFFFFF; border-radius: 4px; padding: 14px 16px; }
#site-search .ss-result:hover { border-color: #F4C20D; }
#site-search .ss-where { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #1D58A3; }
#site-search .ss-title { font-weight: 700; font-size: 18px; line-height: 1.25; }
#site-search .ss-text { font-size: 15px; line-height: 1.45; color: #3D424A; }
@media (max-width: 400px) { header .mm-search-btn { width: 44px; height: 44px; } }
/* Link targets clear the top of the screen */
[id] { scroll-margin-top: 16px; }

/* Contact form (support.html) */
.cf { border: 3px solid #16181B; border-radius: 6px; box-shadow: 8px 8px 0 #16181B; background: #FFFFFF; margin: 8px 0 12px; }
.cf-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 2px solid #16181B; padding: 10px 20px; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.cf-head span:last-child { color: #1D58A3; }
.cf-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: flex; flex-wrap: wrap; gap: 18px; }
.cf-f { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cf-f label { font-weight: 700; font-size: 16px; }
.cf-f label span { font-weight: 500; color: #4A4F57; }
.cf-f input, .cf-f select, .cf-f textarea { font: inherit; font-size: 17px; width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border: 2px solid #16181B; border-radius: 4px; background: #FFFFFF; color: #16181B; }
.cf-f textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.cf-f [aria-invalid="true"] { border-color: #B42318; }
.cf-err { margin: 0; font-size: 15px; font-weight: 600; color: #B42318; }
.cf-note { margin: 0; font-size: 15px; color: #4A4F57; }
.cf-send { font: inherit; font-weight: 700; font-size: 18px; background: #16181B; color: #FFFFFF; border: none; border-radius: 4px; padding: 16px 20px; min-height: 54px; cursor: pointer; }
.cf-send[disabled] { opacity: 0.6; cursor: default; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-done { padding: 34px 22px 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cf-done h3 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 36px; line-height: 1; text-transform: uppercase; margin: 0; }
.cf-again { font: inherit; font-weight: 700; font-size: 16px; background: transparent; color: #16181B; border: 2px solid #16181B; border-radius: 4px; padding: 12px 18px; min-height: 48px; cursor: pointer; }

/* "New" tag used on new features across the site */
.mm-new { display: inline-block; vertical-align: 0.1em; background: #F4C20D; color: #16181B; border: 1.5px solid #16181B; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px; border-radius: 2px; }

/* New in MURUM (home page) */
.nw { background: #EEF3FA; border-bottom: 2px solid #16181B; }
.nw-in { max-width: 1240px; margin: 0 auto; padding: 88px 24px 96px; }
.nw-head { max-width: 760px; }
.nw-kicker { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; color: #1D58A3; }
.nw-head h2 { margin: 0; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 0.95; text-transform: uppercase; }
.nw-head > p:last-child { margin: 18px 0 0; font-size: 1.15rem; color: #3D424A; }
.nw-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.nw-grid article { min-width: 0; border: 2px solid #16181B; border-radius: 4px; }
.nw-grid h3 { margin: 0; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1; }
.nw-plan { display: inline-block; align-self: flex-start; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; background: #FFFFFF; color: #1D58A3; border: 2px solid #1D58A3; }

.nw-lead { grid-column: span 8; background: #16181B; color: #FFFFFF; box-shadow: 10px 10px 0 #F4C20D; display: flex; flex-wrap: wrap; gap: 28px; padding: 34px; align-items: center; }
.nw-lead-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nw-lead .nw-plan { background: #F4C20D; color: #16181B; border-color: #F4C20D; }
.nw-lead h3 { font-size: clamp(2.25rem, 4vw, 3.25rem); color: #F4C20D; }
.nw-lead p { margin: 0; font-size: 1.1rem; color: #DDE1E6; }
.nw-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.nw-ticks li { display: flex; align-items: center; gap: 10px; }
.nw-ticks svg { flex: none; color: #F4C20D; }

.nw-pay { flex: 0 1 280px; min-width: 240px; margin: 0 auto; position: relative; padding-bottom: 34px; }
.nw-pay-card { background: #FFFFFF; color: #16181B; border-radius: 12px; overflow: hidden; transform: rotate(2deg); }
.nw-pay-top { position: relative; padding: 20px 18px 12px; border-bottom: 1px solid #DADDE2; display: flex; flex-direction: column; }
.nw-pay-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: repeating-linear-gradient(-45deg, #F4C20D 0 10px, #16181B 10px 20px); }
.nw-pay-top span { font-size: 13px; color: #5C6268; }
.nw-pay-top strong { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 22px; line-height: 1.1; }
.nw-pay-amt { padding: 16px 18px 4px; display: flex; flex-direction: column; }
.nw-pay-amt strong { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.nw-pay-amt span { font-size: 13px; color: #5C6268; margin-top: 4px; }
.nw-pay-btn { margin: 14px 18px 0; background: #1D58A3; color: #FFFFFF; border-radius: 8px; text-align: center; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 19px; padding: 12px; }
.nw-pay-ways { display: flex; justify-content: space-between; padding: 10px 18px 16px; font-size: 12px; color: #5C6268; }
.nw-pay-toast { position: absolute; left: -14px; right: 18px; bottom: 0; background: #2E7D4F; color: #FFFFFF; border: 2px solid #16181B; border-radius: 6px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; box-shadow: 4px 4px 0 #16181B; }
.nw-pay-toast svg { flex: none; }

.nw-qb { grid-column: span 4; background: #1D58A3; color: #FFFFFF; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.nw-qb .nw-plan { background: #FFFFFF; color: #1D58A3; border-color: #FFFFFF; }
.nw-qb h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.nw-qb p { margin: 0; font-size: 1.05rem; color: #E6EDF7; }

.nw-card { grid-column: span 3; background: #FFFFFF; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.nw-card h3 { font-size: 26px; }
.nw-card p { margin: 0; color: #3D424A; }

.nw-bar { margin-top: auto; padding-top: 6px; font-size: 13px; }
.nw-bar-h, .nw-bar-k { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.nw-bar-h { font-weight: 700; margin-bottom: 6px; }
.nw-bar-h span:last-child { font-weight: 500; color: #5C6268; }
.nw-bar-track { display: flex; height: 14px; border: 2px solid #16181B; border-radius: 2px; overflow: hidden; background: #FFFFFF; }
.nw-bar-spent { background: #1D58A3; }
.nw-bar-comm { background: repeating-linear-gradient(-45deg, #F4C20D 0 6px, #E2B000 6px 12px); }
.nw-bar-k { margin-top: 6px; color: #3D424A; }
.nw-bar-k i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border: 1.5px solid #16181B; vertical-align: -1px; }
.k-spent { background: #1D58A3; } .k-comm { background: #F4C20D; }

.nw-search { margin-top: auto; display: flex; align-items: center; gap: 10px; border: 2px solid #16181B; border-radius: 4px; padding: 10px 12px; font-weight: 600; font-size: 15px; background: #FFFFFF; }

@media (max-width: 1080px) {
  .nw-lead { grid-column: span 12; }
  .nw-qb { grid-column: span 12; }
  .nw-card { grid-column: span 6; }
}
@media (max-width: 620px) {
  .nw-in { padding: 64px 20px 72px; }
  .nw-grid { gap: 20px; }
  .nw-lead { padding: 24px 20px; box-shadow: 6px 6px 0 #F4C20D; }
  .nw-card { grid-column: span 12; }
  .nw-pay { padding-bottom: 40px; }
  .nw-pay-toast { left: -6px; right: 6px; }
}
.nw-pay { padding-bottom: 50px; }
@media (max-width: 620px) { .nw-pay { padding-bottom: 54px; } }
.nw-ledger, .nw-coi { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.nw-ledger > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.35); border-radius: 4px; padding: 9px 12px; }
.nw-ledger .ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #F4C20D; white-space: nowrap; }
.nw-coi > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #DADDE2; padding-bottom: 6px; }
.nw-coi span:first-child { color: #3D424A; }
.nw-coi .ok { font-weight: 700; color: #2E7D4F; }
.nw-coi .bad { font-weight: 700; color: #B42318; }
.nw-time { margin-top: auto; border: 2px solid #16181B; border-radius: 4px; font-size: 13px; overflow: hidden; }
.nw-time-row { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.nw-time-row span { padding: 4px 0; }
.nw-time-row:first-child { background: #16181B; color: #FFFFFF; font-weight: 700; }
.nw-time-h { font-weight: 600; font-variant-numeric: tabular-nums; }
.nw-time-sum { display: flex; justify-content: space-between; padding: 6px 10px; border-top: 2px solid #16181B; background: #FFF6D1; }
.nw-time-sum .warn { font-weight: 700; color: #8A5A00; }

/* Features grouped by job phase (home page) */
.ph-jump { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.ph-jump a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #16181B; border: 2px solid #16181B; border-radius: 4px; padding: 8px 14px 8px 8px; font-weight: 700; font-size: 16px; }
.ph-jump a span { background: #16181B; color: #F4C20D; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 15px; padding: 2px 7px; border-radius: 2px; }
.ph-jump a:hover { background: #F4C20D; color: #16181B; }
.ph { margin-top: 28px; border-top: 3px solid #16181B; }
.ph-row { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px 56px; padding: 56px 0; border-bottom: 2px solid #16181B; }
.ph-side { align-self: start; position: sticky; top: 24px; }
.ph-num { display: block; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 96px; line-height: 0.8; color: #F4C20D; -webkit-text-stroke: 2px #16181B; }
.ph-title { margin: 14px 0 0; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 40px; line-height: 0.95; text-transform: uppercase; }
.ph-side p { margin: 12px 0 0; color: #3D424A; font-size: 1.05rem; }

.ph-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; border: 2px solid #16181B; border-radius: 4px; padding: 28px; background: #FFFFFF; box-shadow: 8px 8px 0 #1D58A3; }
.ph-feat-text { display: flex; flex-direction: column; gap: 10px; }
.ph-feat-text h3 { margin: 0; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; }
.ph-feat-text p { margin: 0; color: #3D424A; font-size: 1.05rem; }
.ph-viz { background: #EEF3FA; border: 2px solid #16181B; border-radius: 4px; padding: 14px 16px; font-size: 14px; }
.viz-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.viz-tag { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; background: #1D58A3; color: #FFFFFF; padding: 2px 7px; border-radius: 2px; white-space: nowrap; }
.viz-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.viz-tbl td { padding: 6px 0; border-top: 1px solid #C9D3E1; }
.viz-tbl td:nth-child(2) { color: #5C6268; text-align: right; padding-right: 12px; }
.viz-tbl td:last-child { text-align: right; font-weight: 600; }
.viz-tbl.two td:nth-child(2) { color: #16181B; padding-right: 0; }
.viz-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 8px; border-top: 2px solid #16181B; }
.viz-foot strong { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 26px; line-height: 1; }
.viz-list { list-style: none; margin: 0; padding: 0; }
.viz-list li { display: grid; grid-template-columns: 100px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid #C9D3E1; }
.viz-list b { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: #1D58A3; }
.viz-list li.warn b { color: #8A5A00; }
.viz-list li.warn { background: #FFF6D1; margin: 0 -16px; padding: 6px 16px; }
.viz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.viz-checks { list-style: none; margin: 0; padding: 0; }
.viz-checks li { padding: 5px 0 5px 22px; border-top: 1px solid #C9D3E1; position: relative; }
.viz-checks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 5px; border-left: 2.5px solid #2E7D4F; border-bottom: 2.5px solid #2E7D4F; transform: rotate(-45deg); }
.viz-checks.off li { color: #5C6268; }
.viz-checks.off li::before { width: 10px; height: 0; top: 13px; border-left: 0; border-bottom: 2.5px solid #8A9099; transform: none; }

.ph-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ph-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid #DADDE2; }
.ph-item > svg { flex: none; margin-top: 2px; }
.ph-item h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.25; }
.ph-item p { margin: 0; color: #3D424A; font-size: 15.5px; line-height: 1.5; }

@media (max-width: 1080px) {
  .ph-row { grid-template-columns: 1fr; padding: 44px 0; }
  .ph-side { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: end; }
  .ph-num { grid-row: span 2; font-size: 72px; }
  .ph-title { margin: 0; }
  .ph-side p { grid-column: 2; margin-top: 6px; }
}
@media (max-width: 760px) {
  .ph-feat { grid-template-columns: 1fr; padding: 22px 20px; box-shadow: 6px 6px 0 #1D58A3; }
  .ph-list { grid-template-columns: 1fr; }
  .ph-title { font-size: 32px; }
  .ph-side { grid-template-columns: 1fr; }
  .ph-num { grid-row: auto; font-size: 60px; }
  .ph-side p { grid-column: 1; }
}
@media (max-width: 760px) { .ph-num { margin-bottom: 8px; } }

/* Hero video */
.hero-vid { border: 3px solid #16181B; border-radius: 6px; box-shadow: 10px 10px 0 #16181B; overflow: hidden; background: #16181B; }
.yt-lite { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #16181B; cursor: pointer; }
.yt-lite img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-lite iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #F4C20D; border: 3px solid #16181B; display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 #16181B; transition: transform .15s ease; }
.yt-lite:hover .yt-play, .yt-lite:focus-visible .yt-play { transform: scale(1.08); }
.yt-lite:focus-visible { outline: 4px solid #1D58A3; outline-offset: 3px; }
.hero-vid-cap { margin: 22px 0 0; font-size: 16px; }
.hero-vid-cap a { color: #16181B; font-weight: 700; }
@media (max-width: 620px) { .hero-vid { box-shadow: 6px 6px 0 #16181B; } .yt-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; } }
@media (prefers-reduced-motion: reduce) { .yt-play { transition: none; } }
/* New in MURUM: wide cards */
.nw-wide { grid-column: span 6; background: #FFFFFF; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.nw-wide h3 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.nw-wide p { margin: 0; color: #3D424A; }
.nw-coi .ok { color: #2E7D4F; font-weight: 700; text-align: right; }
.nw-coi .bad { color: #B42318; font-weight: 700; }
@media (max-width: 1080px) { .nw-wide { grid-column: span 12; } }
