/* ============================================================================
   meta.warren.digital — Meta-styled design system
   Light, confident, product-marketing clean. Class prefix: mt-
   Not affiliated with or endorsed by Meta Platforms, Inc.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --mt-blue:      #0064E0;
  --mt-blue-dk:   #0052BA;
  --mt-ink:       #1C2B33;
  --mt-ink-2:     #465A69;
  --mt-ink-3:     #647A88;
  --mt-line:      #DEE3E7;
  --mt-canvas:    #FFFFFF;
  --mt-surface:   #F1F4F7;
  --mt-surface-2: #E7F3FF;

  --mt-grad: linear-gradient(90deg, #0064E0, #8A3FFC, #F5296E);

  --mt-high: #E11900;
  --mt-med:  #C77700;
  --mt-low:  #1F7A4D;

  --mt-r-sm: 8px;
  --mt-r:    12px;
  --mt-r-lg: 18px;
  --mt-r-xl: 26px;

  --mt-sh-1: 0 1px 2px rgba(28, 43, 51, .06), 0 1px 3px rgba(28, 43, 51, .05);
  --mt-sh-2: 0 4px 10px rgba(28, 43, 51, .07), 0 12px 28px rgba(28, 43, 51, .07);
  --mt-sh-3: 0 10px 22px rgba(28, 43, 51, .10), 0 28px 60px rgba(28, 43, 51, .12);

  --mt-max: 1200px;
  --mt-pad: 24px;

  --mt-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--mt-canvas);
  color: var(--mt-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Meta brand hairline across the very top of every page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--mt-grad);
  z-index: 300;
}

body.mt-noscroll { overflow: hidden; }

img, svg { max-width: 100%; }
img { border-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--mt-ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--mt-blue); text-decoration: none; }
a:hover { color: var(--mt-blue-dk); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--mt-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.mt-modal-scrim:focus-visible { outline: none; }

::selection { background: #cfe4ff; color: var(--mt-ink); }

/* ---------------------------------------------------------------- layout */
.mt-wrap {
  width: 100%;
  max-width: var(--mt-max);
  margin: 0 auto;
  padding: 0 var(--mt-pad);
}

.mt-section { padding: 76px 0; }
.mt-section.band { background: var(--mt-surface); }
.mt-section.tint { background: var(--mt-surface-2); }
.mt-section.tight { padding: 44px 0; }

.mt-center { text-align: center; }
.mt-mt-8  { margin-top: 8px; }
.mt-mt-16 { margin-top: 16px; }
.mt-mt-24 { margin-top: 24px; }

.mt-grid-2, .mt-grid-3 { display: grid; gap: 20px; }
.mt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- type */
.mt-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--mt-blue);
}

.mt-h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 10px 0 0;
  letter-spacing: -0.028em;
}

.mt-h3 {
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.mt-lead {
  margin: 14px 0 0;
  max-width: 74ch;
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--mt-ink-2);
  line-height: 1.62;
}

.mt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13.5px;
  color: var(--mt-ink-3);
  font-weight: 500;
}
.mt-meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  flex: none;
}

.mt-prose { color: var(--mt-ink-2); font-size: 16.5px; line-height: 1.68; }
.mt-prose p { margin-bottom: 1.05em; }
.mt-prose strong { color: var(--mt-ink); font-weight: 700; }
.mt-prose ul { margin: 0 0 1.05em; padding-left: 1.15em; }
.mt-prose li { margin-bottom: .45em; }

.mt-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--mt-line);
  border-left: 4px solid var(--mt-med);
  border-radius: var(--mt-r-sm);
  background: #FFFDF7;
  color: var(--mt-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.mt-note strong { color: var(--mt-ink); }
.mt-note.ok { border-left-color: var(--mt-low); background: #F6FBF8; }
.mt-note.info { border-left-color: var(--mt-blue); background: #F7FAFF; }

/* ---------------------------------------------------------------- pills */
.mt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  background: var(--mt-canvas);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mt-ink-2);
  white-space: nowrap;
}

.mt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mt-surface-2);
  color: var(--mt-blue-dk);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.mt-badge.met  { background: #E8F6EE; color: var(--mt-low); }
.mt-badge.part { background: #FDF3E2; color: var(--mt-med); }
.mt-badge.grad {
  background: var(--mt-grad);
  color: #fff;
}

/* ---------------------------------------------------------------- buttons */
.mt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--mt-r-sm);
  background: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color .16s var(--mt-ease), color .16s var(--mt-ease),
              border-color .16s var(--mt-ease), transform .16s var(--mt-ease),
              box-shadow .16s var(--mt-ease);
}
.mt-btn:active { transform: translateY(1px); }

.mt-btn-primary {
  background: var(--mt-blue);
  border-color: var(--mt-blue);
  color: #fff;
  box-shadow: var(--mt-sh-1);
}
.mt-btn-primary:hover {
  background: var(--mt-blue-dk);
  border-color: var(--mt-blue-dk);
  color: #fff;
  box-shadow: var(--mt-sh-2);
}

.mt-btn-outline {
  border-color: var(--mt-line);
  background: var(--mt-canvas);
  color: var(--mt-ink);
}
.mt-btn-outline:hover {
  border-color: var(--mt-blue);
  color: var(--mt-blue-dk);
  background: #F7FAFF;
}

.mt-btn-ghost {
  border-color: transparent;
  color: var(--mt-blue);
  padding-left: 8px;
  padding-right: 8px;
}
.mt-btn-ghost:hover { color: var(--mt-blue-dk); background: var(--mt-surface); }

/* ---------------------------------------------------------------- nav */
.mt-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--mt-line);
}

.mt-nav-inner {
  width: 100%;
  max-width: var(--mt-max);
  margin: 0 auto;
  padding: 0 var(--mt-pad);
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.mt-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mt-ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  flex: none;
}
.mt-logo:hover { color: var(--mt-ink); }
.mt-logo .mark {
  width: 1px;
  height: 16px;
  flex: none;
  background: var(--mt-line);
}
.mt-logo .sub {
  color: var(--mt-ink-3);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.mt-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.mt-nav-links a {
  padding: 8px 12px;
  border-radius: var(--mt-r-sm);
  color: var(--mt-ink-2);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .16s var(--mt-ease), color .16s var(--mt-ease);
}
.mt-nav-links a:hover { background: var(--mt-surface); color: var(--mt-ink); }
.mt-nav-links a[aria-current="page"] { color: var(--mt-blue); background: var(--mt-surface-2); }

.mt-nav-spacer { flex: 1 1 auto; }

.mt-nav-cta {
  flex: none;
  padding: 10px 18px;
  border-radius: var(--mt-r-sm);
  background: var(--mt-blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .16s var(--mt-ease);
}
.mt-nav-cta:hover { background: var(--mt-blue-dk); color: #fff; }

.mt-nav-burger {
  display: none;
  flex: none;
  width: 40px; height: 40px;
  padding: 10px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r-sm);
  background: var(--mt-canvas);
  cursor: pointer;
}
.mt-nav-burger span {
  display: block;
  height: 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--mt-ink);
}

/* ---------------------------------------------------------------- hero */
.mt-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background: linear-gradient(180deg, #F7FAFF 0%, var(--mt-canvas) 78%);
  border-bottom: 1px solid var(--mt-line);
}
.mt-hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: var(--mt-grad);
  opacity: .13;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.mt-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--mt-max);
  margin: 0 auto;
  padding: 0 var(--mt-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
}

.mt-hero-copy h1 {
  margin: 16px 0 0;
  font-size: clamp(34px, 5.6vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.mt-hero-copy .mt-lead { max-width: 62ch; }

.mt-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.mt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.mt-hero-art {
  position: relative;
  border-radius: var(--mt-r-xl);
  overflow: hidden;
  box-shadow: var(--mt-sh-3);
  background: var(--mt-surface);
  aspect-ratio: 4 / 5;
}
.mt-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-hero-art .badge {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mt-ink);
  box-shadow: var(--mt-sh-1);
}
.mt-hero-art.svgart { aspect-ratio: 16 / 11; background: #fff; border: 1px solid var(--mt-line); }
.mt-hero-art.svgart svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- risk register */
.mt-risk {
  margin-top: 26px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r-lg);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  overflow: hidden;
}

.mt-risk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mt-line);
  background: var(--mt-surface);
}
.mt-risk-head .tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--mt-ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.mt-risk-head .t { font-weight: 700; font-size: 15.5px; color: var(--mt-ink); }
.mt-risk-head .s { font-size: 13px; color: var(--mt-ink-3); font-weight: 500; }

.mt-risk-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 132px minmax(0, 1.15fr) minmax(0, 1.3fr);
  gap: 0;
  border-bottom: 1px solid var(--mt-line);
}
.mt-risk-row:last-child { border-bottom: none; }
.mt-risk-row:nth-child(even) { background: #FBFCFD; }

.mt-risk-row > div { padding: 18px 20px; border-left: 1px solid var(--mt-line); }
.mt-risk-row > div:first-child { border-left: none; }

.mt-risk-row .label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mt-ink-3);
}

.mt-risk-risk { font-size: 15.5px; font-weight: 700; color: var(--mt-ink); line-height: 1.42; }
.mt-risk-risk .num {
  display: inline-block;
  margin-right: 7px;
  min-width: 20px;
  color: var(--mt-blue);
  font-variant-numeric: tabular-nums;
}
.mt-risk-risk .why {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--mt-ink-3);
}

.mt-risk-sev { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mt-sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mt-sev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mt-sev.high { background: #FDECEA; color: var(--mt-high); }
.mt-sev.med  { background: #FDF3E2; color: var(--mt-med); }
.mt-sev.low  { background: #E8F6EE; color: var(--mt-low); }

.mt-risk-mit, .mt-risk-proof { font-size: 14.8px; color: var(--mt-ink-2); line-height: 1.56; }
.mt-risk-mit strong, .mt-risk-proof strong { color: var(--mt-ink); font-weight: 700; }
.mt-risk-proof { background: rgba(231, 243, 255, .42); }

.mt-risk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------------------------------------------------------------- JD fit table */
.mt-fit {
  margin-top: 24px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r-lg);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  overflow: hidden;
}

.mt-fit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mt-line);
  background: var(--mt-surface);
}
.mt-fit-head .tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--mt-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.mt-fit-head .t { font-weight: 700; font-size: 15.5px; }
.mt-fit-head .s { font-size: 13px; color: var(--mt-ink-3); font-weight: 500; }

.mt-fit-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr);
  border-bottom: 1px solid var(--mt-line);
}
.mt-fit-row:last-child { border-bottom: none; }
.mt-fit-row.sub {
  grid-template-columns: 1fr;
  background: var(--mt-ink);
}
.mt-fit-row.sub .mt-fit-req {
  border-left: none;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 11px 20px;
}
.mt-fit-row.sub .mt-fit-req .label { display: none; }

.mt-fit-req, .mt-fit-proof { padding: 18px 20px; }
.mt-fit-proof { border-left: 1px solid var(--mt-line); background: #FBFCFD; }

.mt-fit-req {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--mt-ink);
  line-height: 1.45;
}
.mt-fit-proof { font-size: 14.8px; color: var(--mt-ink-2); line-height: 1.6; }
.mt-fit-proof strong { color: var(--mt-ink); font-weight: 700; }

.mt-fit-req .label, .mt-fit-proof .label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mt-ink-3);
}
.mt-fit-req .mt-badge { margin-top: 10px; }

/* ---------------------------------------------------------------- rows / carousels */
.mt-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.mt-row-title {
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
}
.mt-row-title .accent {
  background: var(--mt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt-row-sub { font-size: 14px; color: var(--mt-ink-3); font-weight: 500; }

.mt-row-scrollcue {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mt-blue);
}
.mt-row-scrollcue.show { display: inline-flex; }
.mt-row-scrollcue .arrow { animation: mt-nudge 1.5s var(--mt-ease) infinite; }
@keyframes mt-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

.mt-row-viewport { position: relative; }
.mt-row-viewport::before,
.mt-row-viewport::after {
  content: "";
  position: absolute;
  top: 0; bottom: 14px;
  width: 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--mt-ease);
  z-index: 2;
}
.mt-row-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--mt-canvas), rgba(255, 255, 255, 0));
}
.mt-row-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--mt-canvas), rgba(255, 255, 255, 0));
}
.mt-row-viewport.scrollable:not(.at-start)::before { opacity: 1; }
.mt-row-viewport.scrollable:not(.at-end)::after   { opacity: 1; }

.mt-row-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.mt-row-scroll::-webkit-scrollbar { height: 8px; }
.mt-row-scroll::-webkit-scrollbar-track { background: var(--mt-surface); border-radius: 8px; }
.mt-row-scroll::-webkit-scrollbar-thumb { background: #C6D0D8; border-radius: 8px; }
.mt-row-scroll::-webkit-scrollbar-thumb:hover { background: #A9B7C1; }
.mt-row-scroll > * { scroll-snap-align: start; }

.mt-row-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mt-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--mt-sh-2);
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s var(--mt-ease), background-color .16s var(--mt-ease);
}
.mt-row-arrow .chev { font-size: 24px; line-height: 1; color: var(--mt-ink); margin-top: -2px; }
.mt-row-arrow.prev { left: -6px; }
.mt-row-arrow.next { right: -6px; }
.mt-row-arrow:hover { background: #fff; border-color: var(--mt-blue); }
.mt-row-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.mt-row-viewport.scrollable:not(.at-start) .mt-row-arrow.prev,
.mt-row-viewport.scrollable:not(.at-end)   .mt-row-arrow.next { opacity: 1; }

/* ---------------------------------------------------------------- cards */
.mt-card {
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r-lg);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-align: left;
  transition: transform .2s var(--mt-ease), box-shadow .2s var(--mt-ease),
              border-color .2s var(--mt-ease);
}
.mt-card:hover,
.mt-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--mt-sh-3);
  border-color: #C7D5E2;
  color: inherit;
}

.mt-card-art {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E7F3FF, #F1F4F7 62%, #F3ECFF);
  overflow: hidden;
  flex: none;
}
.mt-card-art > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mt-card-art > svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.mt-card-art.mt-art-contain > img {
  object-fit: contain;
  padding: 22px;
  background: var(--mt-canvas);
}
.mt-card-art .glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(28, 43, 51, .22), rgba(28, 43, 51, 0));
  pointer-events: none;
}
.mt-card-art.mt-art-contain .glow { display: none; }
.mt-card-art .mt-topbadge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  box-shadow: var(--mt-sh-1);
}
.mt-card-art .mt-opencue {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 2;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--mt-blue);
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--mt-sh-1);
  transition: transform .2s var(--mt-ease);
}
.mt-card:hover .mt-opencue { transform: translateX(3px); }

.mt-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 17px 18px;
  flex: 1 1 auto;
}
.mt-card-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mt-blue);
}
.mt-card-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.24; }
.mt-card-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--mt-ink-2);
  line-height: 1.55;
  flex: 1 1 auto;
}
.mt-card-desc strong { color: var(--mt-ink); font-weight: 700; }
.mt-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--mt-line);
}

/* ---------------------------------------------------------------- timeline */
.mt-timeline { margin-top: 26px; }
.mt-timeline-track {
  position: relative;
  display: flex;
  gap: 4px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-surface);
  overflow: hidden;
}
.mt-timeline-seg {
  position: relative;
  flex: 1 1 0;
  display: grid;
  place-items: center;
  padding: 0 8px;
  background: var(--mt-canvas);
  transition: background-color .18s var(--mt-ease);
}
.mt-timeline-seg + .mt-timeline-seg { border-left: 1px solid var(--mt-line); }
.mt-timeline-seg::after {
  content: attr(data-label);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mt-ink-2);
  text-align: center;
  line-height: 1.25;
}
.mt-timeline-seg::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--mt-line);
}
.mt-timeline-seg:hover { background: #F7FAFF; }
.mt-timeline-seg.now { background: var(--mt-surface-2); }
.mt-timeline-seg.now::after { color: var(--mt-blue-dk); }
.mt-timeline-seg.now::before { background: var(--mt-grad); }

.mt-timeline-thumb {
  position: absolute;
  top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--mt-blue);
  box-shadow: 0 0 0 4px rgba(0, 100, 224, .16);
  z-index: 2;
}
.mt-timeline-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mt-ink-3);
  font-weight: 600;
}

/* ---------------------------------------------------------------- steps */
.mt-steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: mtstep; }
.mt-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  transition: border-color .18s var(--mt-ease), box-shadow .18s var(--mt-ease);
}
.mt-step:hover { border-color: #C7D5E2; box-shadow: var(--mt-sh-2); }
.mt-step::before {
  counter-increment: mtstep;
  content: counter(mtstep, decimal-leading-zero);
  align-self: start;
  font-size: 15px;
  font-weight: 800;
  color: var(--mt-blue);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.mt-step h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mt-step .when {
  display: block;
  margin-bottom: 5px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mt-ink-3);
}
.mt-step p { margin: 8px 0 0; font-size: 15px; color: var(--mt-ink-2); line-height: 1.6; }
.mt-step p strong { color: var(--mt-ink); font-weight: 700; }
.mt-step .proof {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--mt-surface-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--mt-blue-dk);
}

/* ---------------------------------------------------------------- stats */
.mt-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mt-stat {
  padding: 24px 22px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
}
.mt-stat .v {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.05;
}
.mt-stat .v .accent {
  background: var(--mt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt-stat .l { margin-top: 10px; font-size: 14px; color: var(--mt-ink-2); line-height: 1.55; }

/* ---------------------------------------------------------------- metric cards */
.mt-metric {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  overflow: hidden;
  transition: box-shadow .18s var(--mt-ease), border-color .18s var(--mt-ease);
}
.mt-metric:hover { box-shadow: var(--mt-sh-2); border-color: #C7D5E2; }
.mt-metric > .top {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--mt-line);
}
.mt-metric .src {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mt-blue);
}
.mt-metric h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.24; }
.mt-metric .half { padding: 16px 20px; font-size: 14.6px; color: var(--mt-ink-2); line-height: 1.58; }
.mt-metric .half + .half { border-top: 1px dashed var(--mt-line); }
.mt-metric .half strong { color: var(--mt-ink); font-weight: 700; }
.mt-metric .half .lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.mt-metric .half.quant .lbl { background: var(--mt-surface-2); color: var(--mt-blue-dk); }
.mt-metric .half.qual  .lbl { background: #F3ECFF; color: #6B29C7; }

/* ---------------------------------------------------------------- reviews */
.mt-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
}
.mt-review .quote { font-size: 22px; line-height: 1; color: var(--mt-blue); font-weight: 800; }
.mt-review blockquote {
  margin: 0;
  font-size: 15.6px;
  color: var(--mt-ink);
  line-height: 1.6;
  font-weight: 500;
}
.mt-review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.mt-review .av {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mt-surface-2);
  color: var(--mt-blue-dk);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .02em;
}
.mt-review .n { font-size: 14.5px; font-weight: 700; color: var(--mt-ink); }
.mt-review .r { font-size: 13px; color: var(--mt-ink-3); }

/* ---------------------------------------------------------------- spotlight */
.mt-spotlight {
  padding: 34px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r-xl);
  background: linear-gradient(180deg, #F7FAFF, var(--mt-canvas) 60%);
  box-shadow: var(--mt-sh-1);
  position: relative;
  overflow: hidden;
}
.mt-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--mt-grad);
}
.mt-spotlight > .tag { margin-bottom: 18px; }
.mt-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.mt-spotlight h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.028em;
  line-height: 1.18;
}
.mt-spotlight .body {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--mt-ink-2);
  line-height: 1.66;
}
.mt-spotlight .body strong { color: var(--mt-ink); font-weight: 700; }

.mt-signals { display: grid; gap: 12px; }
.mt-signal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
}
.mt-signal .ic {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mt-surface-2);
  color: var(--mt-blue);
  font-size: 15px;
  font-weight: 800;
}
.mt-signal .tx { font-size: 14.4px; color: var(--mt-ink-2); line-height: 1.55; }
.mt-signal .tx strong { color: var(--mt-ink); font-weight: 700; }

/* ---------------------------------------------------------------- modals */
.mt-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  padding: 28px 18px;
  overflow-y: auto;
  background: rgba(28, 43, 51, .5);
  backdrop-filter: blur(3px);
}
.mt-modal-scrim.open { display: block; animation: mt-fade .18s var(--mt-ease); }
@keyframes mt-fade { from { opacity: 0; } to { opacity: 1; } }

.mt-modal {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--mt-r-xl);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-3);
  overflow: hidden;
  animation: mt-rise .22s var(--mt-ease);
}
@keyframes mt-rise { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }

.mt-modal-hero {
  position: relative;
  padding: 30px 34px 26px;
  background: linear-gradient(180deg, #F1F6FF, var(--mt-canvas));
  border-bottom: 1px solid var(--mt-line);
}
.mt-modal-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--mt-grad);
}
.mt-modal-hero h2 {
  margin: 12px 0 0;
  padding-right: 48px;
  font-size: clamp(22px, 3vw, 31px);
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.mt-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mt-line);
  border-radius: 50%;
  background: var(--mt-canvas);
  color: var(--mt-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .16s var(--mt-ease), border-color .16s var(--mt-ease);
}
.mt-modal-close:hover { background: var(--mt-surface); border-color: var(--mt-blue); }

.mt-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mt-modal-body { padding: 26px 34px 34px; }

/* ---------------------------------------------------------------- tabs */
.mt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--mt-line);
}
.mt-tab {
  position: relative;
  padding: 11px 16px 13px;
  border: none;
  background: none;
  color: var(--mt-ink-3);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color .16s var(--mt-ease);
}
.mt-tab::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--mt-grad);
  opacity: 0;
  transition: opacity .16s var(--mt-ease);
}
.mt-tab:hover { color: var(--mt-ink); }
.mt-tab[aria-selected="true"] { color: var(--mt-ink); }
.mt-tab[aria-selected="true"]::after { opacity: 1; }
.mt-tabpanel[hidden] { display: none; }

/* ---------------------------------------------------------------- footer */
.mt-footer {
  border-top: 1px solid var(--mt-line);
  background: var(--mt-surface);
  padding: 46px 0 40px;
}
.mt-footer-inner {
  width: 100%;
  max-width: var(--mt-max);
  margin: 0 auto;
  padding: 0 var(--mt-pad);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.mt-footer h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mt-ink-3);
}
.mt-footer a { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.mt-footer .mt-logo { margin-bottom: 14px; }
.mt-footer .fine {
  margin: 0 0 10px;
  max-width: 62ch;
  font-size: 13px;
  color: var(--mt-ink-3);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- reveal */
.mt-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--mt-ease), transform .5s var(--mt-ease);
  will-change: opacity, transform;
}
.mt-reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .mt-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .mt-hero-art { max-width: 420px; aspect-ratio: 4 / 3; }
  .mt-risk-row { grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr); }
  .mt-risk-row .mt-risk-proof { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--mt-line); }
  .mt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-spotlight-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 900px) {
  .mt-nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px var(--mt-pad) 16px;
    background: var(--mt-canvas);
    border-bottom: 1px solid var(--mt-line);
    box-shadow: var(--mt-sh-2);
  }
  .mt-nav.nav-open .mt-nav-links { display: flex; }
  .mt-nav-links a { padding: 12px 14px; font-size: 16px; }
  .mt-nav-burger { display: block; order: 5; }
  .mt-nav-inner { position: relative; gap: 12px; }
  .mt-nav-cta { order: 4; padding: 9px 14px; font-size: 13.5px; }

  .mt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-section { padding: 58px 0; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }

  .mt-grid-2, .mt-grid-3 { grid-template-columns: minmax(0, 1fr); }

  .mt-risk-row { grid-template-columns: minmax(0, 1fr); }
  .mt-risk-row > div { border-left: none; border-top: 1px solid var(--mt-line); }
  .mt-risk-row > div:first-child { border-top: none; }
  .mt-risk-row .mt-risk-sev { flex-direction: row; flex-wrap: wrap; }

  .mt-fit-row { grid-template-columns: minmax(0, 1fr); }
  .mt-fit-proof { border-left: none; border-top: 1px solid var(--mt-line); }

  .mt-modal-hero { padding: 26px 22px 22px; }
  .mt-modal-body { padding: 22px 22px 28px; }
  .mt-modal { border-radius: var(--mt-r-lg); }
  .mt-modal-scrim { padding: 16px 12px; }

  .mt-row-arrow { display: none; }
  .mt-spotlight { padding: 24px 20px; }
  .mt-step { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px; }

  .mt-timeline-track { height: auto; flex-direction: column; }
  .mt-timeline-seg { padding: 12px 14px; place-items: start; }
  .mt-timeline-seg + .mt-timeline-seg { border-left: none; border-top: 1px solid var(--mt-line); }
  .mt-timeline-seg::before { inset: auto auto 0 0; width: 3px; height: 100%; }
  .mt-timeline-thumb { display: none; }

  .mt-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 520px) {
  :root { --mt-pad: 16px; }
  .mt-stats { grid-template-columns: minmax(0, 1fr); }
  .mt-card { flex-basis: 84vw; max-width: 84vw; }
  .mt-hero { padding: 48px 0 44px; }
  .mt-hero-art { aspect-ratio: 3 / 2; }
  .mt-section { padding: 46px 0; }
  .mt-btn { width: 100%; }
  .mt-hero-actions, .mt-risk-cta, .mt-modal-actions { flex-direction: column; align-items: stretch; }
  .mt-tabs { gap: 0; }
  .mt-tab { flex: 1 1 auto; padding: 11px 8px 13px; font-size: 14px; }
}

@media (max-width: 380px) {
  .mt-logo { font-size: 17px; }
  .mt-logo .sub { display: none; }
  .mt-nav-cta { font-size: 12.5px; padding: 8px 11px; }
  .mt-risk-row > div, .mt-fit-req, .mt-fit-proof { padding: 15px 16px; }
  .mt-card { flex-basis: 88vw; max-width: 88vw; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .mt-reveal { opacity: 1; transform: none; }
  .mt-card:hover, .mt-card:focus-visible { transform: none; }
  .mt-row-scrollcue .arrow { animation: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .mt-nav, .mt-row-arrow, .mt-modal-scrim { display: none !important; }
  body { font-size: 11pt; }
}

/* ============================================================================
   v2 — motion & brand upgrades
   Gradient dosage up, kinetic type, counters, dark mission-control band,
   marquee, SVG line-draw, staggered reveals, scroll progress.
   ========================================================================== */

:root {
  --mt-azure: #0082FB;
  --mt-ink-3: #566B7A;            /* contrast fix (was #647A88) */
  --mt-dark: #0A1218;
  --mt-dark-line: rgba(255, 255, 255, .12);
  --mt-dark-txt: #B8C7D1;
}

/* ---- scroll progress bar (replaces the static hairline) ---- */
body::before { content: none; }
.mt-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  background: rgba(28, 43, 51, .07);
  pointer-events: none;
}
.mt-progress i {
  display: block;
  height: 100%;
  background: var(--mt-grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
@media print { .mt-progress { display: none; } }

/* ---- hero: gradient mesh + display-scale type ---- */
.mt-hero { padding: 96px 0 84px; }
.mt-hero::before {
  top: -240px; right: -140px;
  width: 680px; height: 680px;
  opacity: .21;
  animation: mt-drift1 26s ease-in-out infinite alternate;
}
.mt-hero::after {
  content: "";
  position: absolute;
  left: -220px; bottom: -280px;
  width: 580px; height: 580px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 130, 251, .30), transparent 70%);
  filter: blur(64px);
  pointer-events: none;
  animation: mt-drift2 32s ease-in-out infinite alternate;
}
.mt-hero-inner::before {
  content: "";
  position: absolute;
  top: 26%; left: 40%;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 63, 252, .15), transparent 70%);
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  animation: mt-drift3 24s ease-in-out infinite alternate;
}
@keyframes mt-drift1 { to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes mt-drift2 { to { transform: translate(80px, -60px); } }
@keyframes mt-drift3 { to { transform: translate(60px, 40px); } }

.mt-hero-copy { position: relative; z-index: 1; }
.mt-hero-copy h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

/* kinetic word reveal */
.mt-hero-copy h1 .kw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.mt-hero-copy h1 .kw > span { display: inline-block; transform: translateY(112%); }
.mt-hero-copy h1.kinetic-ready .kw > span {
  animation: mt-word .68s var(--mt-ease) forwards;
  animation-delay: calc(var(--wi, 0) * 70ms);
}
.mt-hero-copy h1 .kw.grad-word > span {
  background: var(--mt-grad);
  background-size: 240% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt-hero-copy h1.kinetic-ready .kw.grad-word > span {
  animation: mt-word .68s var(--mt-ease) forwards,
             mt-gradsweep 2.6s var(--mt-ease) 1;
  animation-delay: calc(var(--wi, 0) * 70ms), calc(var(--wi, 0) * 70ms + .55s);
}
@keyframes mt-word { to { transform: translateY(0); } }
@keyframes mt-gradsweep { from { background-position: 130% 0; } to { background-position: 0% 0; } }

/* ---- stat strip: display numerals + gradient underline ---- */
.mt-stat { position: relative; overflow: hidden; padding: 28px 24px; }
.mt-stat::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--mt-grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .9s var(--mt-ease) .25s;
}
.mt-stat.mt-rc.in::after { transform: scaleX(1); }
.mt-stat .v {
  font-size: clamp(40px, 4.6vw, 58px);
  font-variant-numeric: tabular-nums;
}

/* ---- dark "mission control" band ---- */
.mt-section.dark {
  position: relative;
  overflow: hidden;
  background: var(--mt-dark);
}
.mt-section.dark::before {
  content: "";
  position: absolute;
  top: -28%; right: -12%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 100, 224, .30), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}
.mt-section.dark::after {
  content: "";
  position: absolute;
  bottom: -34%; left: -10%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 63, 252, .20), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}
.mt-section.dark .mt-wrap { position: relative; z-index: 1; }
.mt-section.dark .mt-h2 { color: #fff; }
.mt-section.dark .mt-lead { color: var(--mt-dark-txt); }
.mt-section.dark .mt-kicker { color: var(--mt-azure); }
.mt-section.dark .mt-metric {
  background: rgba(255, 255, 255, .045);
  border-color: var(--mt-dark-line);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.mt-section.dark .mt-metric:hover {
  border-color: rgba(0, 130, 251, .55);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
}
.mt-section.dark .mt-metric > .top { border-color: var(--mt-dark-line); }
.mt-section.dark .mt-metric .src { color: #8FB8D8; background: transparent; }
.mt-section.dark .mt-metric h3 { color: #fff; }
.mt-section.dark .mt-metric .half { color: var(--mt-dark-txt); }
.mt-section.dark .mt-metric .half strong { color: #fff; }
.mt-section.dark .mt-metric .half + .half { border-top-color: rgba(255, 255, 255, .16); }
.mt-section.dark .mt-metric .half.quant .lbl { background: rgba(0, 130, 251, .16); color: #7CC0FF; }
.mt-section.dark .mt-metric .half.qual .lbl { background: rgba(138, 63, 252, .18); color: #C9A6FF; }
.mt-section.dark .mt-note {
  background: rgba(255, 255, 255, .05);
  border-color: var(--mt-dark-line);
  border-left-color: var(--mt-azure);
  color: var(--mt-dark-txt);
}
.mt-section.dark .mt-note strong { color: #fff; }

/* ---- staggered child reveals ---- */
.mt-rc {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--mt-ease), transform .6s var(--mt-ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.mt-rc.in { opacity: 1; transform: none; }

/* severity chips stamp in after their row lands */
.mt-rc .mt-sev {
  opacity: 0;
  transform: scale(.55);
  transition: opacity .3s var(--mt-ease), transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.mt-rc.in .mt-sev { opacity: 1; transform: scale(1); }
.mt-rc.in .mt-sev:first-of-type { transition-delay: calc(var(--i, 0) * 70ms + .3s); }
.mt-rc.in .mt-sev:last-of-type { transition-delay: calc(var(--i, 0) * 70ms + .45s); }

/* ---- SVG line-draw ---- */
.mt-svgdraw [data-len] {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.1s var(--mt-ease);
  transition-delay: var(--d, 0s);
}
.mt-svgdraw.drawn [data-len] { stroke-dashoffset: 0; }

/* ---- timeline: proportional eras + animated sweep ---- */
.mt-timeline-track .mt-timeline-seg:nth-child(1) { flex-grow: 5.2; }
.mt-timeline-track .mt-timeline-seg:nth-child(2) { flex-grow: 1.8; }
.mt-timeline-track .mt-timeline-seg:nth-child(3) { flex-grow: 1.1; }
.mt-timeline-track .mt-timeline-seg:nth-child(4) { flex-grow: 2.6; }
.mt-timeline-track .mt-timeline-seg:nth-child(5) { flex-grow: 1.3; }
.mt-timeline-thumb { transition: left 1.5s var(--mt-ease) .25s; }

/* ---- JD scorecard chips (work.html) ---- */
.mt-fitscore {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.mt-fitscore .fs {
  flex: 1 1 180px;
  padding: 22px 24px;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-r);
  background: var(--mt-canvas);
  box-shadow: var(--mt-sh-1);
  position: relative;
  overflow: hidden;
}
.mt-fitscore .fs::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--mt-grad);
}
.mt-fitscore .fs.part::after { background: var(--mt-med); }
.mt-fitscore .fs .n {
  display: block;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  background: var(--mt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt-fitscore .fs.part .n { background: none; color: var(--mt-med); }
.mt-fitscore .fs .t { margin-top: 6px; display: block; font-size: 13.5px; font-weight: 600; color: var(--mt-ink-2); }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .mt-hero { padding: 72px 0 60px; }
  .mt-hero-copy h1 { font-size: clamp(34px, 9vw, 46px); }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .mt-hero::before, .mt-hero::after, .mt-hero-inner::before { animation: none; }
  .mt-hero-copy h1 .kw > span { transform: none; animation: none !important; }
  .mt-rc, .mt-rc .mt-sev { opacity: 1; transform: none; transition: none; }
  .mt-stat::after { transform: scaleX(1); transition: none; }
  .mt-svgdraw [data-len] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .mt-timeline-thumb { transition: none; }
}

/* ---- v3: stat unit words on their own line ---- */
.mt-stat .v { line-height: 1; }
.mt-stat .v .u {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mt-ink-2);
  margin-top: 4px;
}


/* ---------------------------------------------------------------- resourcing-tool motion card */
/* Themeable via custom properties. Defaults are neutral-dark.
   Override on a wrapper: --rt-bg, --rt-panel, --rt-fg, --rt-muted, --rt-line,
   --rt-accent, --rt-ok, --rt-warn, --rt-radius, --rt-font, --rt-mono */
.rt-card{
  --rt-bg:#101014; --rt-panel:#17171d; --rt-fg:#f2f2f5; --rt-muted:#9a9aa8;
  --rt-line:rgba(255,255,255,.12); --rt-accent:#6f8cff; --rt-ok:#39c07f; --rt-warn:#ef6a5a;
  --rt-radius:14px;
  --rt-font:inherit; --rt-mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  position:relative; width:100%; max-width:460px; box-sizing:border-box;
  font-family:var(--rt-font); color:var(--rt-fg); background:var(--rt-bg);
  border:1px solid var(--rt-line); border-radius:var(--rt-radius);
  padding:18px 18px 16px; overflow:hidden; line-height:1.45;
}
.rt-card *,.rt-card *::before,.rt-card *::after{box-sizing:border-box}
.rt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--rt-line)}
.rt-head-t{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--rt-muted);font-weight:600;margin:0}
.rt-live{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;
  color:var(--rt-muted);font-variant-numeric:tabular-nums}
.rt-dot{width:6px;height:6px;border-radius:50%;background:var(--rt-accent);animation:rt-pulse 2s ease-in-out infinite}

/* stage keeps a stable height so nothing jumps */
.rt-stage{position:relative;min-height:206px}

/* --- step 1: what was said in the meeting --- */
.rt-said{display:flex;gap:10px;align-items:flex-start;opacity:0;transform:translateY(6px);
  animation:rt-said 12s cubic-bezier(.2,.7,.3,1) infinite}
.rt-av{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--rt-panel);
  border:1px solid var(--rt-line);display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:700;color:var(--rt-muted)}
.rt-bub{flex:1 1 auto;background:var(--rt-panel);border:1px solid var(--rt-line);
  border-radius:10px;border-top-left-radius:3px;padding:9px 11px;font-size:12.5px;color:var(--rt-muted)}
.rt-bub b{color:var(--rt-fg);font-weight:600}

/* --- step 2: the decision, staged for a yes --- */
.rt-prop{margin-top:12px;border:1px solid var(--rt-line);border-left:3px solid var(--rt-accent);
  border-radius:10px;background:var(--rt-panel);padding:11px 12px;
  opacity:0;transform:translateY(8px) scale(.985);animation:rt-prop 12s cubic-bezier(.2,.7,.3,1) infinite}
.rt-prop-k{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--rt-muted);
  font-weight:700;margin:0 0 5px}
.rt-prop-b{font-size:13px;font-weight:600;margin:0;color:var(--rt-fg)}
.rt-prop-r{display:flex;align-items:center;gap:8px;margin-top:10px}
.rt-btn{font-size:11px;font-weight:600;padding:5px 11px;border-radius:999px;
  border:1px solid var(--rt-line);color:var(--rt-fg);background:transparent;position:relative;overflow:hidden}
.rt-btn-y{border-color:transparent;color:#fff;background:var(--rt-accent)}
.rt-btn-y::after{content:"";position:absolute;inset:0;background:#fff;opacity:0;animation:rt-press 12s linear infinite}
.rt-hint{font-size:10.5px;color:var(--rt-muted);margin-left:auto}

/* --- step 3: the plan re-balances --- */
.rt-grid{margin-top:13px;opacity:0;animation:rt-grid 12s cubic-bezier(.2,.7,.3,1) infinite}
.rt-grid-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.rt-grid-t{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--rt-muted);font-weight:700;margin:0}
.rt-stamp{font-size:9.5px;font-weight:700;color:var(--rt-ok);letter-spacing:.03em;
  opacity:0;animation:rt-stamp 12s ease-out infinite}
.rt-row{display:grid;grid-template-columns:64px 1fr 40px;align-items:center;gap:9px;margin-top:7px}
.rt-name{font-size:11.5px;color:var(--rt-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rt-track{display:block;height:7px;border-radius:99px;background:var(--rt-line);overflow:hidden}
.rt-fill{display:block;height:100%;border-radius:99px;background:var(--rt-accent);width:60%}
.rt-fill-over{background:var(--rt-warn);width:100%;animation:rt-over 12s cubic-bezier(.4,0,.2,1) infinite}
.rt-fill-up{width:52%;animation:rt-up 12s cubic-bezier(.4,0,.2,1) infinite}
.rt-pct{position:relative;display:block;height:15px;font-size:10.5px;font-family:var(--rt-mono);
  color:var(--rt-muted);text-align:right;font-variant-numeric:tabular-nums}
.rt-num-before,.rt-num-after{position:absolute;right:0;top:0;white-space:nowrap}
.rt-foot{margin-top:14px;padding-top:11px;border-top:1px solid var(--rt-line);
  font-size:11px;color:var(--rt-muted);margin-bottom:0}

@keyframes rt-pulse{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes rt-said{
  0%{opacity:0;transform:translateY(6px)} 6%{opacity:1;transform:translateY(0)}
  82%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0;transform:translateY(-4px)}}
@keyframes rt-prop{
  0%,16%{opacity:0;transform:translateY(8px) scale(.985)}
  24%,82%{opacity:1;transform:translateY(0) scale(1)}
  92%,100%{opacity:0;transform:translateY(-4px) scale(.99)}}
@keyframes rt-press{0%,43%{opacity:0}45%{opacity:.5}50%,100%{opacity:0}}
@keyframes rt-grid{
  0%,46%{opacity:0} 54%,86%{opacity:1} 94%,100%{opacity:0}}
@keyframes rt-stamp{0%,58%{opacity:0}66%,86%{opacity:1}94%,100%{opacity:0}}
@keyframes rt-over{0%,54%{width:100%;background:var(--rt-warn)}64%,100%{width:84%;background:var(--rt-accent)}}
@keyframes rt-up{0%,54%{width:52%}64%,100%{width:71%}}
/* swap the numbers with the bars using two spans */
.rt-num-before{animation:rt-numb 12s steps(1,end) infinite}
.rt-num-after{opacity:0;animation:rt-numa 12s steps(1,end) infinite}
@keyframes rt-numb{0%,54%{opacity:1}54.01%,100%{opacity:0}}
@keyframes rt-numa{0%,54%{opacity:0}54.01%,100%{opacity:1}}
.rt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media (prefers-reduced-motion: reduce){
  .rt-card *{animation:none !important}
  .rt-said,.rt-prop,.rt-grid,.rt-stamp,.rt-num-after{opacity:1 !important;transform:none !important}
  .rt-num-before{display:none}
  .rt-fill-over{width:84%;background:var(--rt-accent)}
  .rt-fill-up{width:71%}
}
