/* ============================================================
   Argis Labs - "Modern" layer (body.mx)
   Dark, product-led enterprise SaaS look. Loaded after styles.css
   only by pages that set `modern: true`; everything is scoped to
   body.mx so un-migrated pages are untouched.
   ============================================================ */

body.mx {
  --bg: #05080F;
  --bg-2: #0A101C;
  --bg-3: #101827;
  --ink: #F4F7FB;
  --text: #A7B4C6;
  --muted: #6F7E93;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .05);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --amber: #F5A524;
  --amber-2: #FFC857;
  --cyan: #4CC9F0;
  --blue: #5B8CFF;
  --ok: #3DD9A0;
  --max: 1200px;
  background: var(--bg);
  color: var(--text);
  font-feature-settings: 'cv11', 'ss01';
}

body.mx h1, body.mx h2, body.mx h3, body.mx h4 { color: var(--ink); }
body.mx a { color: inherit; }
body.mx ::selection { background: rgba(245, 165, 36, .35); }

/* ---------- nav ---------- */
body.mx .topbar-pill {
  background: rgba(10, 16, 28, .72);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 18px;
}
body.mx .topnav a { color: var(--text); }
body.mx .topnav a:hover { color: #fff; background: var(--glass-2); }
body.mx .topnav a[aria-current] { color: #fff; }
body.mx .brand-logo { filter: brightness(0) invert(1); }
body.mx .nav-toggle { background: var(--glass-2); border-color: var(--line); }
body.mx .nav-toggle span { background: #fff; }
body.mx .mega-grid, body.mx .mega-foot { background: #0B1220; border-color: var(--line); }
body.mx .mega-foot { background: #0E1626; }
body.mx .topnav .mega-card { background: var(--glass); border-color: var(--line); }
body.mx .topnav .mega-card:hover { background: var(--glass-2); border-color: var(--amber); }
body.mx .mega-title { color: #fff; }
body.mx .mega-desc { color: var(--text); }
body.mx .mega-go { color: var(--amber); }
body.mx .topnav .mega-foot a { color: #fff; }
@media (max-width: 980px) {
  body.mx .topbar.open .topnav { background: #0B1220; border-color: var(--line); }
}

/* ---------- buttons ---------- */
body.mx .btn { border-radius: 12px; font-weight: 600; letter-spacing: -0.01em; }
body.mx .btn-gold {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: #1A1204;
  box-shadow: 0 0 0 1px rgba(255, 200, 87, .5), 0 8px 30px rgba(245, 165, 36, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
body.mx .btn-gold:hover {
  background: linear-gradient(180deg, #FFD479, #F7B239);
  color: #1A1204;
  box-shadow: 0 0 0 1px rgba(255, 200, 87, .7), 0 12px 40px rgba(245, 165, 36, .42), inset 0 1px 0 rgba(255, 255, 255, .5);
}
body.mx .btn-line {
  background: var(--glass-2);
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
body.mx .btn-line:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
body.mx .btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }

/* ---------- shared bits ---------- */
body.mx .section { padding: 96px 0; position: relative; }
body.mx .mx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
}
body.mx .mx-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
body.mx .mx-h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; margin: 14px 0 18px; font-weight: 650; }
body.mx .mx-sub { font-size: 18.5px; line-height: 1.6; color: var(--text); max-width: 640px; }
body.mx .mx-head { margin-bottom: 64px; }
body.mx .mx-head.center { text-align: center; }
body.mx .mx-head.center .mx-sub { margin: 0 auto; }
body.mx .grad {
  background: linear-gradient(100deg, #fff 0%, var(--amber-2) 45%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.mx .grad-cool {
  background: linear-gradient(100deg, #fff 0%, var(--cyan) 55%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.mx .chip2 {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--text);
  white-space: nowrap;
}
body.mx .chip2.live { color: var(--ok); border-color: rgba(61, 217, 160, .35); background: rgba(61, 217, 160, .08); }
body.mx .chip2.soon { color: var(--amber-2); border-color: rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .08); }
body.mx .chip2 i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
body.mx .glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .35);
}

/* ---------- hero ---------- */
.mx-hero { position: relative; overflow: hidden; padding: 150px 0 0; isolation: isolate; }
.mx-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(91, 140, 255, .20), transparent 70%),
    radial-gradient(40% 40% at 85% 20%, rgba(245, 165, 36, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 35%, rgba(76, 201, 240, .10), transparent 70%);
}
.mx-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 75%);
}
.mx-hero-copy { text-align: center; max-width: 1020px; margin: 0 auto; }
.mx-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--glass-2); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 500; color: #D5DEEA;
  margin-bottom: 30px; backdrop-filter: blur(8px);
}
.mx-pill b { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; background: var(--amber); color: #1A1204; }
.mx-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 700; text-wrap: balance; }
.mx-hero .mx-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: #B4C1D3; max-width: 740px; margin: 28px auto 0; }
.mx-hero .mx-lede strong { color: #fff; font-weight: 600; }
.mx-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.mx-hero-meta { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.mx-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.mx-hero-meta svg { color: var(--ok); }

/* product stage */
.mx-stage { position: relative; margin: 80px auto 0; max-width: 1120px; perspective: 1800px; }
.mx-stage::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 10%; bottom: -6%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 165, 36, .28), rgba(91, 140, 255, .18) 55%, transparent 75%);
  filter: blur(60px);
}
.mx-window {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #070B14;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .6);
  transform: rotateX(5deg); transform-origin: 50% 100%;
}
.mx-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: #0C1322; border-bottom: 1px solid var(--line); }
.mx-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.mx-bar span { margin: 0 auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; transform: translateX(-24px); }
.mx-window img { display: block; width: 100%; height: auto; }
.mx-float {
  position: absolute; z-index: 3; padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.4; color: #D5DEEA;
  background: rgba(10, 16, 28, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  animation: mx-bob 7s ease-in-out infinite;
}
.mx-float b { display: block; color: #fff; font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.mx-float small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; font-family: var(--mono); }
.mx-float .ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 10px; vertical-align: middle; }
.mx-float.f1 { left: -3%; top: 24%; width: 250px; animation-delay: -1s; }
.mx-float.f2 { right: -3%; top: 12%; width: 262px; animation-delay: -3s; }
.mx-float.f3 { right: 4%; bottom: 9%; width: 232px; animation-delay: -5s; }
.mx-float.f1 .ic { background: rgba(245, 165, 36, .16); color: var(--amber-2); }
.mx-float.f2 .ic { background: rgba(61, 217, 160, .14); color: var(--ok); }
.mx-float.f3 .ic { background: rgba(91, 140, 255, .16); color: var(--blue); }
@keyframes mx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.mx-fade-b { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 2; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.mx-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ---------- stat strip ---------- */
.mx-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.mx-stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.mx-stat { padding: 38px 28px; border-right: 1px solid var(--line); }
.mx-stat:last-child { border-right: 0; }
.mx-stat .n { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 650; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.mx-stat .n small { font-size: .42em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.mx-stat p { margin-top: 10px; font-size: 14.5px; color: var(--text); line-height: 1.45; }

/* ---------- pipeline ---------- */
.mx-pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.mx-step { padding: 26px 22px 24px; position: relative; display: flex; flex-direction: column; gap: 12px; transition: transform var(--ease), border-color var(--ease); }
.mx-step:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .2); }
.mx-step .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.mx-step .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--cyan); }
.mx-step.act .ico, .mx-step.learn .ico { color: var(--amber-2); }
.mx-step h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 650; }
.mx-step p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-step .chip2 { align-self: flex-start; margin-top: auto; }
.mx-step:not(:last-child)::after {
  content: ''; position: absolute; top: 47px; right: -15px; width: 16px; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--cyan), var(--amber)); opacity: .7;
}
.mx-in-out { display: flex; justify-content: space-between; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mx-in-out span { display: inline-flex; align-items: center; gap: 10px; }
.mx-in-out span::after { content: ''; width: 60px; height: 1px; background: var(--line); }
.mx-in-out span:last-child::after { display: none; }
.mx-in-out span:last-child::before { content: ''; width: 60px; height: 1px; background: var(--line); }

/* ---------- twin ---------- */
.mx-split { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; align-items: center; }
.mx-split.flip { grid-template-columns: 1.25fr .9fr; }
body.mx .mx-split .mx-h2 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.mx-crop { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #05080F; }
.mx-crop img { position: absolute; width: 215%; max-width: none; left: -57%; top: -50%; height: auto; }
.mx-feats { display: grid; gap: 14px; margin-top: 34px; }
.mx-feat { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; transition: background var(--ease), border-color var(--ease); }
.mx-feat:hover { background: var(--glass); border-color: var(--line); }
.mx-feat .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(76, 201, 240, .1); color: var(--cyan); border: 1px solid rgba(76, 201, 240, .2); }
.mx-feat h4 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; }
.mx-feat p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-twin-fig { position: relative; }
.mx-twin-fig .mx-window { transform: none; }
.mx-twin-fig::before { content: ''; position: absolute; inset: 10% 5% -8%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(76, 201, 240, .22), transparent 70%); filter: blur(50px); }
.mx-twin-card { position: absolute; right: -22px; bottom: -34px; width: 300px; z-index: 3; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.mx-twin-card img { display: block; width: 100%; height: auto; }

/* ---------- agents ---------- */
.mx-agents { background: linear-gradient(180deg, transparent, rgba(91, 140, 255, .05) 40%, transparent); }
.mx-console { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #070B14; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.mx-console .mx-bar span { transform: none; margin: 0 0 0 10px; }
.mx-console .live-dot { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--ok); }
.mx-console .live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 217, 160, .6); animation: mx-ping 2s infinite; }
@keyframes mx-ping { 70% { box-shadow: 0 0 0 9px rgba(61, 217, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 217, 160, 0); } }
.mx-feed { padding: 10px 0 14px; }
.mx-ev { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 14px 20px; position: relative; }
.mx-ev::before { content: ''; position: absolute; left: 36px; top: 46px; bottom: -14px; width: 1px; background: var(--line); }
.mx-ev:last-child::before { display: none; }
.mx-ev .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); color: var(--text); position: relative; z-index: 1; }
.mx-ev.t-find .dot { color: var(--amber-2); background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .3); }
.mx-ev.t-agent .dot { color: var(--blue); background: rgba(91, 140, 255, .12); border-color: rgba(91, 140, 255, .32); }
.mx-ev.t-done .dot { color: var(--ok); background: rgba(61, 217, 160, .1); border-color: rgba(61, 217, 160, .3); }
.mx-ev h5 { font-size: 14.5px; color: #fff; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.005em; }
.mx-ev p { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.mx-ev time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 3px; }
.mx-ev .chip2 { margin-top: 8px; }
.js .mx-feed .mx-ev { opacity: 0; transform: translateY(10px); }
.js .mx-console.in-view .mx-ev { animation: mx-in .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * .55s); }
@keyframes mx-in { to { opacity: 1; transform: none; } }
.mx-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.mx-role { padding: 20px; }
.mx-role h4 { font-size: 15.5px; font-weight: 600; margin: 12px 0 6px; }
.mx-role p { font-size: 14px; line-height: 1.55; color: var(--text); }

/* ---------- deliverables ---------- */
.mx-dl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mx-dl-grid > .mx-dl { grid-column: span 2; }
.mx-dl-grid > .mx-dl:nth-child(n+5) { grid-column: span 3; }
.mx-dl { padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; transition: transform var(--ease), border-color var(--ease); }
.mx-dl:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .22); }
.mx-dl-grid > .mx-dl.hero-dl { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 40px; align-items: center; padding: 40px; background: linear-gradient(145deg, rgba(245, 165, 36, .12), rgba(255, 255, 255, .025) 55%); border-color: rgba(245, 165, 36, .3); }
.mx-dl .tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mx-dl h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 650; }
.mx-dl.hero-dl h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; }
.mx-dl p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-dl.hero-dl p { font-size: 16px; max-width: 480px; }
.mx-dl ul { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.mx-dl li { font-size: 14px; color: #C5D0DF; padding-left: 22px; position: relative; }
.mx-dl li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg) scale(.8); transform-origin: left; }
.mx-hero-text { display: flex; flex-direction: column; gap: 14px; }
.mx-doc { width: min(100%, 360px); justify-self: center; padding: 20px 22px; border-radius: 12px; background: #fff; color: #1B2740; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transform: rotate(2.4deg); font-size: 11.5px; }
.mx-doc .dh { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: #7B8798; border-bottom: 1px solid #E5E9F0; padding-bottom: 8px; margin-bottom: 10px; text-transform: uppercase; }
.mx-doc h6 { font-size: 14px; color: #0B1E3D; margin-bottom: 8px; letter-spacing: -0.01em; }
.mx-doc .ln { height: 6px; border-radius: 3px; background: #E6EAF1; margin: 6px 0; }
.mx-doc .ln.s { width: 62%; } .mx-doc .ln.m { width: 84%; }
.mx-doc .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #E0E5EC; color: #3B4A63; }
.mx-doc .row b { color: #0B1E3D; }
.mx-doc .seal { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: #8A5A00; background: #FFF4DC; border: 1px solid #F3D9A0; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; }
.mx-batch { margin-top: 26px; padding: 22px 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.mx-batch p { flex: 1; min-width: 260px; font-size: 15.5px; color: #C5D0DF; }
.mx-batch p b { color: #fff; font-weight: 600; }
.mx-fine { font-size: 12.5px; color: var(--muted); margin-top: 22px; line-height: 1.55; max-width: 820px; }

/* ---------- pricing / calculator ---------- */
.mx-price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.mx-price-main { padding: 44px; position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(245, 165, 36, .14), rgba(255, 255, 255, .02) 60%); border-color: rgba(245, 165, 36, .3); }
.mx-price-main::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .3), transparent 70%); filter: blur(10px); }
.mx-bigprice { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; position: relative; z-index: 1; }
.mx-bigprice .n { font-size: clamp(4rem, 8vw, 6.4rem); font-weight: 700; letter-spacing: -0.06em; line-height: .95; }
.mx-bigprice .u { font-size: 18px; color: var(--text); line-height: 1.3; }
.mx-incl { list-style: none; display: grid; gap: 11px; margin: 26px 0 30px; position: relative; z-index: 1; }
.mx-incl li { font-size: 15px; color: #D5DEEA; padding-left: 26px; position: relative; }
.mx-incl li::before { content: ''; position: absolute; left: 2px; top: .4em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.mx-calc { padding: 40px; display: flex; flex-direction: column; }
.mx-calc label { font-size: 13px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mx-calc-in { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 18px; }
.mx-calc-in input[type=number] { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: #fff; font: 650 clamp(2rem, 4vw, 2.8rem)/1.1 var(--sans); letter-spacing: -0.03em; padding: 4px 0 8px; outline: none; -moz-appearance: textfield; }
.mx-calc-in input[type=number]::-webkit-outer-spin-button, .mx-calc-in input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
.mx-calc-in input[type=number]:focus { border-bottom-color: var(--amber); }
.mx-calc-in span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.mx-calc input[type=range] { width: 100%; accent-color: var(--amber); height: 4px; margin-bottom: 14px; }
.mx-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.mx-presets button { font: 500 13px var(--sans); color: var(--text); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: all var(--ease); }
.mx-presets button:hover, .mx-presets button.on { color: #1A1204; background: var(--amber-2); border-color: var(--amber-2); }
.mx-result { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mx-result .k { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mx-result .v { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 650; letter-spacing: -0.04em; color: #fff; line-height: 1.1; margin-top: 4px; }
.mx-result .v.amber { color: var(--amber-2); }
.mx-calc .mx-fine { margin-top: 18px; }
.mx-pilot { margin-top: 20px; padding: 26px 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.mx-pilot .pn { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; color: #fff; }
.mx-pilot p { font-size: 15px; color: var(--text); line-height: 1.55; }
.mx-pilot p b { color: #fff; font-weight: 600; }

/* ---------- investor band ---------- */
.mx-invest { position: relative; overflow: hidden; padding: 64px; border-radius: 28px; border: 1px solid rgba(245, 165, 36, .3); background: radial-gradient(70% 90% at 100% 0%, rgba(245, 165, 36, .2), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(91, 140, 255, .18), transparent 60%), #080D18; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.mx-invest h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; margin: 14px 0 16px; }
.mx-invest p { font-size: 17px; line-height: 1.6; color: #B4C1D3; max-width: 560px; }
.mx-invest-stats { display: grid; gap: 14px; }
.mx-invest-stats > div { padding: 20px 22px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mx-invest-stats .n { font-size: 2rem; font-weight: 650; letter-spacing: -0.04em; color: #fff; }
.mx-invest-stats .l { font-size: 13.5px; color: var(--text); text-align: right; max-width: 170px; line-height: 1.35; }

/* ---------- about / faq / cta ---------- */
.mx-about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.mx-about p { font-size: 17px; line-height: 1.7; color: var(--text); }
.mx-about p strong { color: #fff; font-weight: 600; }
body.mx .faq { border-top: 1px solid var(--line); max-width: 860px; margin: 0 auto; }
body.mx .faq-item { border-bottom: 1px solid var(--line); }
body.mx .faq-item summary { color: #fff; }
body.mx .faq-item summary::after { color: var(--amber); }
body.mx .faq-item p { color: var(--text); }
.mx-cta { position: relative; overflow: hidden; text-align: center; padding: 120px 0; isolation: isolate; }
.mx-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(245, 165, 36, .26), transparent 70%), radial-gradient(40% 50% at 20% 100%, rgba(91, 140, 255, .18), transparent 70%); }
.mx-cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1.04; max-width: 760px; margin: 0 auto 18px; }
.mx-cta p { font-size: 18px; color: var(--text); max-width: 520px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
body.mx .footer { background: #04060C; border-top: 1px solid var(--line); color: var(--text); }
body.mx .fb-cell a, body.mx .fb-brand p { color: var(--text); }
body.mx .fb-cell a:hover { color: #fff; }
body.mx .foot-strip { border-color: var(--line); }
body.mx .fb-label { color: var(--muted); }

/* ---------- invest page ---------- */
.mx-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mx-big > div { padding: 34px 30px; }
.mx-big .n { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.mx-big .n .u { font-size: .4em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.mx-big h4 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.mx-big p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-math { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.mx-math > div { padding: 30px 26px; border-right: 1px solid var(--line); }
.mx-math > div:last-child { border-right: 0; background: linear-gradient(160deg, rgba(245, 165, 36, .14), transparent); }
.mx-math .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mx-math .n { font-size: 2.2rem; font-weight: 650; letter-spacing: -0.04em; color: #fff; margin: 8px 0 4px; line-height: 1.05; }
.mx-math p { font-size: 13.5px; color: var(--text); line-height: 1.45; }
.mx-rows { display: grid; gap: 14px; }
.mx-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 24px 28px; }
.mx-row h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.mx-row p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mx-use { padding: 28px; }
.mx-use .num { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }
.mx-use h4 { font-size: 19px; font-weight: 650; margin: 10px 0 8px; letter-spacing: -0.02em; }
.mx-use p { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.mx-ask { text-align: center; padding: 72px 40px; border-radius: 28px; border: 1px solid rgba(245, 165, 36, .3); position: relative; overflow: hidden; background: radial-gradient(60% 100% at 50% 0%, rgba(245, 165, 36, .2), transparent 70%), #080D18; }
.mx-ask .n { font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: .95; }
.mx-ask p { max-width: 560px; margin: 18px auto 32px; font-size: 17.5px; color: #B4C1D3; line-height: 1.6; }

/* ---------- inner pages ---------- */
.mx-hero-sm { padding: 150px 0 0; }
.mx-hero-sm .mx-hero-copy { max-width: 900px; }
.mx-hero-sm h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.mx-hero-sm:not(:has(.mx-stage)) { padding-bottom: 20px; }
.mx-stage-sm { margin-top: 64px; max-width: 1000px; }
.mx-stage-sm::before { top: 14%; }
.mx-window.flat { transform: none; }
.mx-fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mx-fgrid.two { grid-template-columns: repeat(2, 1fr); }
.mx-fgrid.four { grid-template-columns: repeat(4, 1fr); }
.mx-fc { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: transform var(--ease), border-color var(--ease), background var(--ease); color: inherit; }
a.mx-fc:hover { transform: translateY(-4px); border-color: rgba(245, 165, 36, .45); }
.mx-fc .ico, .mx-cap .ico, .mx-relc .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(76, 201, 240, .1); color: var(--cyan); border: 1px solid rgba(76, 201, 240, .22); }
.mx-fc h3 { font-size: 19px; letter-spacing: -0.02em; font-weight: 650; margin-top: 4px; }
.mx-fc p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mx-fc .go, .mx-relc .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--amber-2); }
.mx-grp { margin-bottom: 44px; }
.mx-grp-h { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.mx-grp-h p { color: var(--muted); font-size: 14.5px; }
.mx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.mx-st { padding: 28px 24px; }
.mx-st .num { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }
.mx-st h3 { font-size: 20px; letter-spacing: -0.02em; margin: 12px 0 8px; }
.mx-st p { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.mx-st p a { color: var(--amber-2); text-decoration: underline; text-underline-offset: 3px; }
.mx-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; }
.mx-cap h4 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; letter-spacing: -0.01em; }
.mx-cap p { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.mx-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mx-relc { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; transition: transform var(--ease), border-color var(--ease); }
.mx-relc:hover { transform: translateY(-4px); border-color: rgba(245, 165, 36, .45); }
.mx-relc h4 { font-size: 18px; font-weight: 650; margin-top: 8px; }
.mx-relc p { font-size: 14.5px; color: var(--text); line-height: 1.55; }
.mx-dlfeat { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px; background: linear-gradient(145deg, rgba(245, 165, 36, .12), rgba(255, 255, 255, .025) 55%); border-color: rgba(245, 165, 36, .3); }
.mx-dlfeat .mx-h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.mxm-docwrap { display: grid; place-items: center; padding: 10px; }
.mx-doc.big { width: min(100%, 400px); font-size: 12.5px; padding: 26px 28px; transform: rotate(2deg); }
.mx-doc.big h6 { font-size: 16px; }
.mx-doc.big .row { padding: 8px 0; }
.mx-loopcard { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 48px; }
.mx-loopstats { display: grid; gap: 14px; }
.mx-loopstats > div { display: flex; align-items: baseline; gap: 16px; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
.mx-loopstats b { font-size: 2.2rem; color: #fff; letter-spacing: -0.04em; min-width: 40px; }
.mx-loopstats span { color: var(--text); font-size: 14.5px; }
a.mx-fc, a.mx-relc { text-decoration: none; }

/* sample mockups used in the feature pages */
.sev { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; display: inline-block; }
.sev.m { color: var(--amber-2); background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .3); }
.sev.l { color: var(--cyan); background: rgba(76, 201, 240, .08); border-color: rgba(76, 201, 240, .25); }
.mxm-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: center; position: relative; }
.mxm-split.rev { grid-template-columns: 1fr 1.25fr; }
.mxm-split .mx-window { min-width: 0; }
.mxm-float { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); max-width: 320px; justify-self: center; }
.mxm-float.big { max-width: 340px; }
.mxm-float img { display: block; width: 100%; height: auto; }
.mxm-single { max-width: 760px; margin: 0 auto; }
.mxm-single img, .mx-window img { display: block; width: 100%; height: auto; }
.mxm-table { padding: 6px 0 10px; font-size: 13.5px; }
.mxm-tr { display: grid; grid-template-columns: 2fr 1fr 1fr .8fr; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); color: var(--text); }
.mxm-tr:last-child { border-bottom: 0; }
.mxm-tr.th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mxm-tr b { display: block; color: #fff; font-weight: 600; font-size: 14px; }
.mxm-tr small { display: block; color: var(--muted); font-size: 12px; }
.mxm-table.pf .mxm-tr { grid-template-columns: 2fr 1.4fr 1fr .8fr; }
.bar { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar u { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--ok)); }
.mxm-timeline { padding: 22px 24px; display: grid; gap: 18px; }
.mxm-timeline .tl { display: grid; grid-template-columns: 16px 1fr; gap: 14px; position: relative; }
.mxm-timeline .tl .d { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); margin-top: 5px; box-shadow: 0 0 0 4px rgba(61, 217, 160, .15); }
.mxm-timeline b { display: block; color: #fff; font-size: 14.5px; }
.mxm-timeline small { color: var(--text); font-size: 13px; }
.mxm-timeline .tl.diff { grid-template-columns: 1fr; padding: 14px 16px; border: 1px solid rgba(245, 165, 36, .3); background: rgba(245, 165, 36, .08); border-radius: 12px; }
.mxm-wo { padding: 22px 24px; }
.mxm-wo .wo-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-size: 16px; }
.mxm-wo .wo-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.mxm-wo .wo-row b { color: #E6EDF7; font-weight: 500; text-align: right; }
.mxm-wo .wo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.mxm-wo .wo-steps span { text-align: center; font-size: 11.5px; padding: 8px 4px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.mxm-wo .wo-steps span.on { color: #1A1204; background: var(--amber-2); border-color: var(--amber-2); font-weight: 600; }
.mxm-stack { display: grid; gap: 12px; }
.mxm-pill { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); color: var(--cyan); }
.mxm-pill b { display: block; color: #fff; font-size: 14.5px; }
.mxm-pill small { color: var(--text); font-size: 12.5px; }
.mxm-review { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 280px; }
.rv-list { border-right: 1px solid var(--line); padding: 8px; }
.rv { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 10px; color: var(--text); }
.rv i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); flex: none; }
.rv.done i { background: var(--ok); }
.rv.on { background: var(--glass-2); }
.rv b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.rv small { font-size: 11.5px; color: var(--muted); }
.rv-detail { padding: 22px; font-size: 13.5px; color: var(--text); }
.rv-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #fff; }
.rv-note { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; }
.rv-btns { display: flex; gap: 8px; }
.rv-btns .b { padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #fff; }
.rv-btns .b.ok { background: rgba(61, 217, 160, .14); border-color: rgba(61, 217, 160, .4); color: var(--ok); }
.rv-btns .b.no { color: #FF8A7A; }
.cap-body { padding: 22px 24px; }
.cap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.cap-stats > div { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.cap-stats b { display: block; font-size: 1.5rem; color: #fff; letter-spacing: -0.03em; }
.cap-stats span { font-size: 12.5px; color: var(--muted); }
.cap-flow { display: grid; gap: 4px; }
.cf { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.cf .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.cf.done .dot { color: var(--ok); background: rgba(61, 217, 160, .1); border-color: rgba(61, 217, 160, .3); }
.cf b { color: #fff; font-size: 14.5px; display: block; }
.cf small { color: var(--text); font-size: 12.5px; }
.mxm-capture .mx-console .mx-bar span { margin: 0 0 0 10px; transform: none; }

/* ---------- platform megamenu ---------- */
body.mx .mega-wide .mm-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 10px 22px; padding: 22px 24px 18px; align-items: start; }
.mm-col { display: grid; gap: 2px; align-content: start; }
.mm-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px; }
body.mx .topnav .mega-card.mm-item { flex-direction: row; align-items: flex-start; gap: 14px; padding: 12px; border: 1px solid transparent; background: transparent; border-radius: 12px; }
body.mx .topnav .mega-card.mm-item:hover { background: var(--glass-2); border-color: var(--line); transform: none; }
.mm-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(76, 201, 240, .1); color: var(--cyan); border: 1px solid rgba(76, 201, 240, .22); }
.mm-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-item .mega-title { font-size: 14.5px; }
.mm-item .mega-desc { font-size: 12.5px; line-height: 1.4; }
.mm-feat { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); align-self: stretch; min-height: 250px; background: #05080F; }
.mm-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.5); transform-origin: 50% 60%; opacity: .95; transition: transform .6s ease; }
.mm-feat:hover img { transform: scale(1.62); }
.mm-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 15, .92)); }
.mm-feat-t { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.mm-feat-t b { color: #fff; font-size: 15px; }
.mm-feat-t span { color: #B4C1D3; font-size: 12.5px; line-height: 1.4; }
body.mx .mm-foot { display: flex; gap: 28px; padding: 14px 32px 16px; }
body.mx .topnav .mm-foot a { padding: 4px 0; font-size: 13.5px; font-weight: 600; color: #fff; }
body.mx .topnav .mm-foot a:hover { color: var(--amber); background: none; }
body.mx .mega-grid { border-radius: 18px 18px 0 0; }
body.mx .mega-foot { border-radius: 0 0 18px 18px; border-top: 1px solid var(--line); }
body.mx .topnav { justify-content: center; gap: 4px; }
body.mx .topnav a { white-space: nowrap; }

/* ---------- legacy pages: contact, privacy, thank-you ---------- */
body.mx .page-hero { padding: 150px 0 24px; background: none; text-align: center; border: 0; }
body.mx .page-hero .frame { text-align: center; }
body.mx .page-hero .lede { max-width: 640px; margin: 18px auto 0; }
body.mx .page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; }
body.mx .page-hero .lede, body.mx .lede { color: #B4C1D3; }
body.mx .kicker { color: var(--amber); }
body.mx .prose h3 { color: #fff; }
body.mx .prose p { color: var(--text); }
body.mx .prose a, body.mx .lf-fine a { color: var(--amber-2); }
body.mx .expect-row h4, body.mx .contact-grid h2 { color: #fff; }
body.mx .expect-row p, body.mx .contact-aside p { color: var(--text); }
body.mx .expect-row .en { color: var(--amber); }
body.mx .sec-idx { color: var(--muted); }
body.mx .sec-idx b { color: var(--amber); }
body.mx .trio-cell { background: var(--glass); border-color: var(--line); }
body.mx .trio-cell h3 { color: #fff; }
body.mx .trio-cell p { color: var(--text); }
body.mx .qa p { color: var(--text); }
body.mx .qa h3 { color: #fff; }

/* ================= sub pages (body.sub) =================
   A different structure from the home page: breadcrumb + left-aligned split
   header, sticky in-page nav, then sections with a left rail and ruled rows. */
body.sub { background: #060A12; }
body.sub .grad, body.sub .grad-cool { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.sub-hero { position: relative; padding: 112px 0 0; background: linear-gradient(180deg, #0B1220 0%, #070B14 100%); }
.sub-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 165, 36, .5), transparent); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: .4; }
.crumbs [aria-current] { color: var(--amber-2); }
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-bottom: 64px; }
.sub-hero-grid.solo { grid-template-columns: minmax(0, 780px); padding-bottom: 56px; }
.sub-hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.07; font-weight: 650; text-align: left; text-wrap: balance; }
.sub-lede { font-size: 17.5px; line-height: 1.62; color: #B4C1D3; margin-top: 20px; max-width: 540px; }
.sub-lede strong { color: #fff; font-weight: 600; }
.sub-btns { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.sub-hero-visual { min-width: 0; position: relative; }
.sub-facts { display: grid; gap: 0; padding: 8px 28px; }
.sub-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sub-facts > div:last-child { border-bottom: 0; }
.sub-facts b { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; color: #fff; font-weight: 650; }
.sub-facts span { font-size: 14.5px; color: var(--text); text-align: right; max-width: 220px; line-height: 1.35; }
.sub-hero-visual .mx-window, .sub-hero-visual .mx-console { transform: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.sub-hero-visual .mxm-split, .sub-hero-visual .mxm-split.rev { grid-template-columns: 1fr; gap: 0; }
.sub-hero-visual .mxm-float { max-width: 230px; justify-self: end; margin: 16px 0 0 0; position: relative; z-index: 2; }
.sub-hero-visual .mxm-float.big { max-width: 260px; }
.sub-hero-visual .mxm-split.rev .mxm-float { order: 2; margin-top: 16px; }
.sub-hero-visual .mx-note { text-align: left; }
.sub-hero-visual .mxm-stack { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.sub-hero-visual .mxm-pill { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
.sub-hero-visual .mxm-capture .mx-console { max-width: none !important; }
.sub-hero-visual .mxm-feed { max-width: none !important; }
.subnav { position: sticky; top: 92px; z-index: 40; background: rgba(6, 10, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-in a { font: 500 12px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 7px 13px; border-radius: 8px; white-space: nowrap; transition: all var(--ease); }
.subnav-in a:hover { color: #fff; }
.subnav-in a.on { color: #fff; background: var(--glass-2); box-shadow: inset 0 -2px 0 var(--amber); }
body.sub .section { padding: 72px 0; border-top: 1px solid var(--line); }
.subnav + .section, .subnav + main .section:first-child { border-top: 0; }
body.sub .section.has-rail > .frame { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
body.sub .rail { position: sticky; top: 160px; }
body.sub .rail .mx-head { margin: 0; }
body.sub .rail .mx-h2 { font-size: 1.55rem; letter-spacing: -0.025em; line-height: 1.18; margin: 10px 0 10px; }
body.sub .rail .mx-sub { font-size: 14.5px; line-height: 1.55; }
.rail-body { min-width: 0; }
/* ruled rows instead of floating cards */
body.sub .mx-steps { display: block; border-top: 1px solid var(--line); }
body.sub .mx-st.glass { display: grid; grid-template-columns: 52px 200px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
body.sub .mx-st h3 { margin: 0; font-size: 17px; }
body.sub .mx-caps { grid-template-columns: 1fr 1fr; gap: 0 44px; }
body.sub .mx-cap { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
body.sub .mx-cap .ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; }
body.sub .mx-cap h4 { margin: 2px 0 4px; font-size: 16px; }
body.sub .mx-fgrid, body.sub .mx-fgrid.four, body.sub .mx-fgrid.two { grid-template-columns: 1fr 1fr; }
body.sub .mx-fc.glass, body.sub .mx-relc.glass { background: rgba(255, 255, 255, .02); box-shadow: none; border-radius: 12px; }
body.sub .mx-rel { grid-template-columns: 1fr; gap: 10px; }
body.sub .mx-relc { display: grid; grid-template-columns: 42px 1fr auto; column-gap: 18px; align-items: center; padding: 18px 20px; }
body.sub .mx-relc .ico { grid-row: span 2; }
body.sub .mx-relc h4 { margin: 0; font-size: 16px; }
body.sub .mx-relc .go { grid-column: 3; grid-row: 1 / span 2; padding: 0; margin: 0; align-self: center; }
body.sub .mx-dlfeat { padding: 36px; }

body.sub .mx-cta { padding: 0 0 88px; text-align: left; }
body.sub .mx-cta::before { display: none; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 34px 40px; border-radius: 20px; border: 1px solid rgba(245, 165, 36, .28); background: linear-gradient(120deg, rgba(245, 165, 36, .10), rgba(255, 255, 255, .02)); }
body.sub .cta-card h2 { font-size: 1.7rem; letter-spacing: -0.025em; margin: 0 0 6px; max-width: none; line-height: 1.15; }
body.sub .cta-card p { margin: 0; font-size: 15.5px; max-width: 520px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
body.sub .mx-ask { text-align: left; padding: 48px; }
body.sub .mx-ask p { margin-left: 0; }
body.sub .mx-ask .mx-hero-btns { justify-content: flex-start; }
body.sub .mx-fine { max-width: none; }
body.sub .faq { margin: 0; max-width: none; }
body.sub .mx-big, body.sub .mx-uses { grid-template-columns: 1fr; }
body.sub .mx-math { grid-template-columns: 1fr 1fr; }
body.sub .mx-math > div:nth-child(2) { border-right: 0; }
body.sub .mx-math > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
body.sub .mx-row { grid-template-columns: 180px 1fr; }
body.mx .foot-block { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
.mx-for { font: 500 11.5px var(--mono); letter-spacing: .04em; color: var(--amber-2); }
.mx-askq { color: #fff !important; font-size: 15px !important; font-style: normal; }
.mx-qs { list-style: none; display: grid; gap: 10px; }
.mx-qs li { position: relative; padding: 16px 20px 16px 52px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: #E6EDF7; font-size: 16px; line-height: 1.5; }
.mx-qs li::before { content: '?'; position: absolute; left: 18px; top: 14px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: rgba(245,165,36,.14); color: var(--amber-2); font: 600 13px var(--mono); }
.mx-clock { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mx-clock > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mx-clock b { color: var(--amber-2); font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.mx-clock span { color: #C5D0DF; font-size: 15.5px; line-height: 1.55; }
.mx-clocks { border-top: 1px solid var(--line); }
.mx-clocks .cr { display: grid; grid-template-columns: 190px 150px 1fr auto; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.mx-clocks .cr b { color: #fff; font-size: 15.5px; }
.mx-clocks .who { color: var(--amber-2); font: 500 12px var(--mono); }
.mx-clocks .sc { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap; }
.mx-askers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mx-ask-c { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; position: relative; color: inherit; transition: transform var(--ease), border-color var(--ease); }
.mx-ask-c:hover { transform: translateY(-4px); border-color: rgba(245,165,36,.45); }
.mx-ask-c .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(245,165,36,.12); color: var(--amber-2); border: 1px solid rgba(245,165,36,.28); }
.mx-ask-c h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.mx-ask-c .q { color: #fff; font-size: 14.5px; line-height: 1.45; }
.mx-ask-c .c { color: var(--text); font-size: 13px; line-height: 1.5; margin-top: auto; }
.mx-ask-c .go { position: absolute; right: 18px; top: 22px; color: var(--amber-2); }
.mx-ticker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.mx-ticker span { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.mx-ticker i { font-style: normal; font-size: 13.5px; color: #E6EDF7; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); }
@media (max-width: 1100px) { .mx-askers { grid-template-columns: repeat(2, 1fr); } body.mx .foot-block { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .mx-askers { grid-template-columns: 1fr; } .mx-clock > div { grid-template-columns: 1fr; gap: 4px; } .mx-clocks .cr { grid-template-columns: 1fr; gap: 4px; } }
body.sub .contact-grid { padding-top: 8px; }
body.sub .narrow { margin: 0; max-width: 760px; }
body.sub .mx-uses { grid-template-columns: 1fr 1fr; }
@media (max-width: 980px) {
  .sub-hero { padding-top: 100px; }
  .sub-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  body.sub .section.has-rail > .frame { grid-template-columns: 1fr; gap: 28px; }
  body.sub .rail { position: static; }
  body.sub .mx-st.glass { grid-template-columns: 40px 1fr; }
  body.sub .mx-st.glass p { grid-column: 2; }
  body.sub .mx-caps, body.sub .mx-fgrid, body.sub .mx-fgrid.four, body.sub .mx-fgrid.two { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 28px; }
  .subnav { top: 84px; }
  body.sub .mx-row { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mx-fgrid.four { grid-template-columns: repeat(2, 1fr); }
  .mx-float { display: none; }
  .mx-pipe { grid-template-columns: repeat(2, 1fr); }
  .mx-step:not(:last-child)::after { display: none; }
  .mx-in-out { display: none; }
}
@media (max-width: 980px) {
  body.mx .section { padding: 84px 0; }
  .mx-fgrid, .mx-caps, .mx-rel { grid-template-columns: 1fr 1fr; }
  .mx-dlfeat, .mx-loopcard, .mxm-split, .mxm-split.rev { grid-template-columns: 1fr; padding: 32px 26px; gap: 28px; }
  .mxm-split { padding: 0; }
  .mx-hero-sm { padding-top: 124px; }
  body.mx .mega-wide .mm-grid { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .mm-feat, .mm-ic, .mm-h { display: none; }
  .mm-col { display: flex; flex-direction: column; }
  body.mx .mm-foot { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .mx-hero { padding-top: 128px; }
  .mx-split, .mx-split.flip, .mx-price, .mx-about, .mx-invest { grid-template-columns: 1fr; gap: 44px; }
  .mx-stats-in { grid-template-columns: repeat(2, 1fr); }
  .mx-stat:nth-child(2) { border-right: 0; }
  .mx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mx-roles, .mx-big, .mx-uses { grid-template-columns: 1fr; }
  .mx-dl-grid { grid-template-columns: 1fr 1fr; }
  .mx-dl-grid > .mx-dl, .mx-dl-grid > .mx-dl:nth-child(n+5) { grid-column: span 1; }
  .mx-dl-grid > .mx-dl.hero-dl { grid-column: 1 / -1; grid-template-columns: 1fr; row-gap: 28px; }
  .mx-twin-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .mx-math { grid-template-columns: 1fr 1fr; }
  .mx-math > div:nth-child(2) { border-right: 0; }
  .mx-math > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mx-row { grid-template-columns: 1fr; gap: 10px; }
  .mx-invest { padding: 40px 28px; }
  .mx-pilot { grid-template-columns: 1fr; gap: 14px; }
  .mx-window { transform: none; }
}
@media (max-width: 640px) {
  .mx-fgrid, .mx-fgrid.two, .mx-fgrid.four, .mx-caps, .mx-rel { grid-template-columns: 1fr; }
  .mxm-tr { grid-template-columns: 1.6fr 1fr; }
  .mxm-tr span:nth-child(2), .mxm-tr span:nth-child(4) { display: none; }
  .mxm-review { grid-template-columns: 1fr; }
  .rv-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .mx-pipe, .mx-dl-grid { grid-template-columns: 1fr; }
  .mx-dl-grid > .mx-dl, .mx-dl-grid > .mx-dl:nth-child(n+5), .mx-dl-grid > .mx-dl.hero-dl { grid-column: auto; }
  .mx-dl.hero-dl { padding: 28px; }
  .mx-price-main, .mx-calc { padding: 28px 24px; }
  .mx-hero h1 { letter-spacing: -0.035em; }
  .mx-stat { padding: 26px 18px; }
  .mx-ev { grid-template-columns: 34px 1fr; }
  .mx-ev time { display: none; }
  .mx-doc { transform: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-float, .mx-console .live-dot::before { animation: none; }
  .js .mx-feed .mx-ev { opacity: 1; transform: none; animation: none !important; }
}

/* ---------- scan-to-findings animation (home, #twin) ----------
   Sized by its own container, not the viewport: wide = callout cards float
   over the image, narrow = numbered pins on the image + cards in a grid below. */
.mx-scan { position: relative; container-type: inline-size; background: #080A10; }
.mx-scan-scene { position: relative; aspect-ratio: 2148 / 1002; overflow: hidden; }
.mx-scan-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .4s; }
.mx-scan-scene.dim img { opacity: .4; }

.mx-scan-mask { position: absolute; inset: 0; overflow: hidden; pointer-events: none; clip-path: polygon(28% 5%, 76% 5%, 86% 50%, 88% 72%, 99% 98%, 1% 98%, 6% 80%, 12.5% 58%); }
.mx-scan-trail { position: absolute; inset: 0; transform: scaleY(0); transform-origin: 50% 0; opacity: 0; transition: opacity .5s;
  background: linear-gradient(180deg, rgba(76, 201, 240, .02), rgba(76, 201, 240, .16)); }
.mx-scan-beam { position: absolute; left: 0; right: 0; top: 0; height: 14%; opacity: 0; transition: opacity .4s; will-change: transform;
  background: linear-gradient(180deg, transparent, rgba(35, 219, 255, .05) 35%, rgba(34, 221, 255, .18) 86%, rgba(156, 250, 255, .55) 97%, #BFFAFF);
  border-bottom: 2px solid #86F5FF; filter: drop-shadow(0 0 12px #00DCFF); }
.mx-scan.is-scanning .mx-scan-beam, .mx-scan.is-scanning .mx-scan-trail { opacity: 1; }

/* pins on the image */
.mx-scan-pin { position: absolute; left: var(--x); top: var(--y); width: 20px; height: 20px; margin: -10px 0 0 -10px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; font: 600 10.5px/1 var(--mono); color: #1A1204;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 165, 36, .28), 0 4px 12px rgba(0, 0, 0, .5); pointer-events: none; }
.mx-scan-pin.cy { background: var(--cyan); box-shadow: 0 0 0 3px rgba(76, 201, 240, .28), 0 4px 12px rgba(0, 0, 0, .5); }
.mx-scan-pin::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; color: var(--amber); }
.mx-scan-pin.cy::after { color: var(--cyan); }
.mx-scan-pin.on::after { animation: mx-scan-ping 2.2s ease-out .3s infinite; }
@keyframes mx-scan-ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.4); } }
.js .mx-scan-pin { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .3, 1.4); }
.js .mx-scan-pin.on { opacity: 1; transform: none; }

/* layers panel (wide only) */
.mx-scan-layers { position: absolute; left: 12px; top: 12px; z-index: 3; display: none; width: 142px; padding: 9px 11px 7px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 16, 28, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
.mx-scan-layers b { display: block; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.mx-scan-layers label { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 11px; color: var(--ink); cursor: pointer; }
.mx-scan-layers input { accent-color: var(--amber); margin: 0; }
.mx-scan-layers small { margin-left: auto; color: var(--muted); }

/* HUD */
.mx-scan-hud { position: absolute; left: 12px; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px);
  padding: 6px 8px 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 16, 28, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 10.5px var(--mono); letter-spacing: .04em; white-space: nowrap; color: var(--text); }
.mx-scan-status { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.mx-scan-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mx-scan-status em { font-style: normal; }
.mx-scan.is-scanning .mx-scan-status i { animation: mx-scan-blink 1s ease-in-out infinite; }
.mx-scan.is-done .mx-scan-status { color: var(--ok); }
.mx-scan.is-paused .mx-scan-status { color: var(--amber-2); }
@keyframes mx-scan-blink { 50% { opacity: .3; } }
.mx-scan-tag { color: var(--muted); }
.mx-scan-prog { width: 90px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mx-scan-prog span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--amber), var(--cyan)); }
.mx-scan-pct { min-width: 3.2ch; text-align: right; }
.mx-scan-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 7px;
  background: rgba(255, 255, 255, .05); color: var(--ink); font: 600 11px var(--sans, inherit); cursor: pointer; transition: background .2s, border-color .2s; }
.mx-scan-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.mx-scan-btn:focus-visible, .mx-scan-layers input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.mx-scan-btn.icon { width: 28px; padding: 0; }
.mx-scan-btn .i-play, .mx-scan.is-paused .mx-scan-btn .i-pause { display: none; }
.mx-scan.is-paused .mx-scan-btn .i-play { display: block; }
.mx-scan.is-static .mx-scan-btn, .mx-scan.is-static .mx-scan-prog, .mx-scan.is-static .mx-scan-pct, .mx-scan.is-static .mx-scan-tag { display: none; }

/* result cards: a grid under the image, numbered to match the pins */
.mx-scan-cards { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line); }
.mx-scan-card { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); background: rgba(16, 25, 41, .9); min-width: 0; }
.mx-scan-card:not(.cy) { border-left-color: var(--amber); }
.mx-scan-card .eyebrow { display: flex; align-items: center; gap: 6px; font: 600 9px var(--mono); letter-spacing: .1em; color: #90A6BB; }
.mx-scan-card .num { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); color: #06131A; font-size: 9px; flex: none; }
.mx-scan-card:not(.cy) .num { background: var(--amber); color: #1A1204; }
.mx-scan-card .value { display: block; margin: 4px 0 2px; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.mx-scan-card.warn .value { color: #FFC05A; }
.mx-scan-card .value small { font-size: 10px; font-weight: 600; color: var(--muted); }
.mx-scan-card .detail { display: block; font-size: 11px; line-height: 1.45; color: #C0C9D6; }
.js .mx-scan-card { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.js .mx-scan-card.on { opacity: 1; transform: none; }

/* wider container: layers panel appears over the image's empty top-left corner */
@container (min-width: 560px) { .mx-scan-layers { display: block; } }
/* tight container: compact HUD */
@container (max-width: 520px) {
  .mx-scan-tag, .mx-scan-pct, .mx-scan-btn span { display: none; }
  .mx-scan-hud { left: 8px; bottom: 8px; gap: 8px; padding: 5px 6px 5px 10px; }
  .mx-scan-prog { width: 56px; }
  .mx-scan-btn { height: 34px; min-width: 34px; padding: 0 9px; }
  .mx-scan-btn.icon { width: 34px; }
  .mx-scan-pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: 9.5px; }
}
/* wide container (the hero window): result cards float over the image, near what they describe */
@container (min-width: 760px) {
  .mx-scan-cards { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2148 / 1002; display: block; padding: 0; border: 0; pointer-events: none; z-index: 3; }
  .mx-scan-card { position: absolute; width: clamp(150px, 15.5cqw, 176px); padding: 10px 12px; border-radius: 12px; background: rgba(10, 16, 28, .86);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
  .mx-scan-card .value { font-size: 20px; }
  .mx-scan-card .detail { font-size: 11.5px; }
  .js .mx-scan-card { transform: translateY(12px) scale(.97); }
  .js .mx-scan-card.on { transform: none; }
}
/* hero: shorter bottom fade so it never dims the scan controls */
.mx-stage:has(.mx-scan) .mx-fade-b { height: 44px; }
@container (max-width: 340px) {
  .mx-scan-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-scan-pin.on::after, .mx-scan.is-scanning .mx-scan-status i { animation: none; }
  .js .mx-scan-pin, .js .mx-scan-card, .mx-scan-beam, .mx-scan-trail { transition: none; }
}
.mx-scan.is-done .mx-scan-btn[data-pause] { display: none; }
