html{scroll-behavior:smooth;scroll-padding-top:140px}.mercury-main{--wine:#a10922;--m-ink:#24232a;--m-muted:#65636d;--m-line:#d5d2d5;background:#f6f5f5;color:var(--m-ink);overflow:hidden}.m-wrap{max-width:1320px;margin:auto;padding-inline:48px}.m-product-nav{position:sticky;top:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(246,245,245,.96);backdrop-filter:blur(15px);padding:14px max(28px,calc((100vw - 1224px)/2));border-bottom:1px solid #d8d3d6;color:#26232a}.m-wordmark{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.12em;font-size:19px;color:#971025;white-space:nowrap}.m-wordmark img{width:39px;height:27px;object-fit:contain;mix-blend-mode:normal}.m-wordmark small{font-size:10px;font-weight:400;letter-spacing:.08em;color:#69616a}.m-product-nav>div{display:flex;gap:28px;align-items:center}.m-product-nav a{text-decoration:none}.m-product-nav>div>a{font-size:14px}.m-nav-cta{border:1px solid #9c1830;padding:8px 15px;border-radius:4px;color:#8d1128}.m-hero{padding-top:74px;padding-bottom:48px;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:50px}.m-eyebrow{font-size:12px;letter-spacing:.16em;font-weight:600;color:#971025;margin:0 0 24px}.m-hero h1{font-size:clamp(44px,5.8vw,82px);line-height:1.02;letter-spacing:-.045em;font-weight:600;margin:0 0 30px;color:#2c2730}.m-hero h1 span{color:#a10922}.m-hero-bottom{max-width:680px}.m-hero-bottom>p{font-size:20px;line-height:1.5;color:var(--m-muted);max-width:620px;margin-bottom:25px}.m-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.m-button{display:inline-flex;align-items:center;justify-content:center;background:#9e1026;color:white!important;border:1px solid #9e1026;padding:13px 24px;font-size:16px;text-decoration:none;border-radius:4px;transition:background .2s,transform .2s}.m-button:hover{background:#bf1635;transform:translateY(-2px)}.m-text-link{font-size:15px;color:inherit;text-decoration:none;border-bottom:1px solid #aaa1a8;padding:7px 0}.m-text-link span{font-size:10px;letter-spacing:.12em;margin-left:12px;opacity:.6}.m-hero-aside{border-left:1px solid #d6ced4;padding-left:30px;align-self:center}.m-silver-mark{display:block;max-width:170px;margin-bottom:24px}.m-silver-mark img{width:100%;mix-blend-mode:normal}.m-hero-aside p{font-size:19px;line-height:1.4;margin:0 0 18px}.m-hero-aside p strong{font-weight:600}.m-fine-rule{height:1px;background:#d5ced3;margin-bottom:18px}.m-hero-aside>span:last-child{font-size:14px;color:var(--m-muted);line-height:1.7}.m-screen-tabs{display:flex;gap:7px;border-bottom:1px solid #cfc9ce;margin-bottom:0}.m-screen-tabs button{font:16px var(--font-body);color:#716a73;padding:15px 24px;border:0;border-bottom:3px solid transparent;background:none;cursor:pointer}.m-screen-tabs button[aria-selected=true]{border-color:#ab1630;color:#8d0b23;font-weight:600}.m-app-frame{border:1px solid #362d38;border-radius:8px;overflow:hidden;background:#17131c;box-shadow:0 26px 55px -28px #3c193b66;margin-top:22px}.m-app-bar{height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;color:#c4b7c4;font-size:10px;letter-spacing:.12em}.m-app-dots{display:flex;gap:5px}.m-app-dots i{width:6px;height:6px;background:#645666;border-radius:50%}.m-app-bar>span:last-child{opacity:.5}.m-screen-open{padding:0;border:0;display:block;width:100%;position:relative;background:#ebebeb;cursor:zoom-in;height:560px;overflow:hidden}.m-screen-open img{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .2s}.m-screen-open>span,.m-image-zoom>span{position:absolute;bottom:15px;right:15px;padding:7px 12px;background:#19131ddb;color:white;font:13px var(--font-body);border-radius:4px}.m-screen-caption{display:flex;justify-content:space-between;gap:30px;padding:16px 0 0;align-items:flex-start}.m-screen-caption p{font-size:15px;color:var(--m-muted);margin:0;min-height:44px;max-width:750px}.m-screen-caption>span{font-size:10px;letter-spacing:.12em;white-space:nowrap;color:#857c86;padding-top:4px}.m-workspace-facts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:38px;margin-top:45px;padding-bottom:70px;border-bottom:1px solid var(--m-line)}.m-workspace-facts h2{font-size:22px;line-height:1.2;margin:0 0 14px;font-weight:600}.m-workspace-facts h2 span{color:var(--wine)}.mercury-main p{line-height:1.5}.m-workspace-facts p,.m-platform-list p{font-size:16px;color:var(--m-muted);margin:0}.m-platform{padding-block:85px;display:grid;grid-template-columns:1fr 1fr;gap:80px}.m-section-intro h2{font-size:clamp(32px,4vw,53px);line-height:1.08;letter-spacing:-.03em;margin:0 0 25px;font-weight:600}.m-section-intro>p:last-child{font-size:19px;color:var(--m-muted);max-width:740px}.m-platform-list article{display:grid;grid-template-columns:190px 1fr;gap:25px;padding:20px 0;border-top:1px solid var(--m-line)}.m-platform-list article:first-child{padding-top:0;border-top:0}.m-platform-list article>span{font-size:18px;font-weight:600}.m-corrosion{background:radial-gradient(ellipse at 90% 20%,#4c172c 0,transparent 50%),#19151e;color:#eee9ef;padding:82px 0}.m-corrosion .m-eyebrow{color:#e78b9d}.m-module-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:70px}.m-module-heading h2{font-size:clamp(40px,5.5vw,73px);line-height:1.03;letter-spacing:-.04em;margin:0;font-weight:500}.m-module-heading h2 em{font-style:normal;color:#e897a6}.m-module-heading>p{max-width:400px;font-size:19px;color:#bbb0c0;margin:0}.m-module-proof{display:flex;gap:70px;padding:35px 0;margin:35px 0 15px;border-block:1px solid #ffffff25}.m-module-proof span{font-size:15px;color:#c3b7c6}.m-module-proof strong{font-size:25px;color:#fff;font-weight:500;margin-right:8px}.m-workflow{display:grid;grid-template-columns:1.25fr 1fr;gap:45px;padding-top:25px}.m-image-zoom{display:block;position:relative;background:transparent;border:0;padding:0;cursor:zoom-in;width:100%;overflow:hidden}.m-image-zoom img{width:100%;display:block}.m-workflow-image .m-image-zoom{border:1px solid #ffffff30;border-radius:5px;margin-top:3px}.m-workflow-image>p{color:#b4a7bb;font-size:15px;max-width:550px}.m-workflow-guide .m-eyebrow{font-size:11px;margin-bottom:15px}.m-steps{display:grid;grid-template-columns:1fr 1fr;gap:7px}.m-steps button{padding:10px 11px;text-align:left;border:1px solid #ffffff20;background:#ffffff05;color:#b8aebe;font:14px var(--font-body);border-radius:4px;cursor:pointer;display:flex;gap:9px;align-items:center}.m-steps button span{font-size:10px;color:#9e8da7}.m-steps button[aria-selected=true]{background:#a6264366;border-color:#bd6079;color:#fff}.m-step-detail{min-height:155px;margin-top:23px}.m-step-detail>span{font-size:10px;letter-spacing:.12em;color:#c58d9f}.m-step-detail h3{font-size:26px;margin:7px 0 9px;color:#fff;font-weight:500}.m-step-detail p{font-size:16px;color:#c4b8ca;max-width:500px;margin:0}.m-export{display:flex;gap:40px;align-items:center;justify-content:space-between;padding-top:30px;margin-top:28px;border-top:1px solid #ffffff25;font-size:14px;color:#b9aebe}.m-export p{font-size:19px;margin:0;color:#eee5f2}.m-export b{display:block;font-size:22px;font-weight:500;color:#fff}.m-intelligence{padding-block:90px}.m-intelligence .m-section-intro h2 span{color:var(--wine)}.m-ml-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:65px;margin-top:42px;align-items:center}.m-ml-image{border:1px solid #d6cdd3;box-shadow:0 18px 45px -25px #5d355955}.m-trained>span{display:block;font-size:11px;letter-spacing:.13em;color:var(--m-muted)}.m-trained>strong{font-size:43px;letter-spacing:-.025em;font-weight:600;line-height:1.25}.m-trained p{font-size:20px;margin:0 0 28px;color:var(--m-muted)}.m-coverage{display:grid;grid-template-columns:155px 1fr;align-items:center;gap:25px;border-top:1px solid var(--m-line);padding:20px 0}.m-coverage>strong{font-size:55px;color:var(--wine);font-weight:500;letter-spacing:-.06em}.m-coverage small{font-size:30px}.m-coverage p{font-size:16px;color:var(--m-muted);margin:0}.m-note{font-size:12px!important;line-height:1.5!important;color:var(--m-muted)}.m-scale{background:#e9e6e8;padding-block:65px;border-block:1px solid #d6cfd5}.m-scale-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.m-scale h2{font-size:45px;line-height:1.06;font-weight:500;letter-spacing:-.03em;margin:0 0 22px}.m-scale h2 strong{font-size:100px;font-weight:500;color:var(--wine)}.m-scale h2>span{font-size:30px;color:#776875}.m-scale-grid>div>p:not(.m-eyebrow):not(.m-note){font-size:19px;max-width:460px}.m-scale figure{margin:0}.m-scale figure img{width:100%;height:280px;object-fit:contain;background:white;border:1px solid #c8c0c6}.m-scale figcaption{font-size:15px;color:var(--m-muted);padding-top:15px;line-height:1.5}.m-roadmap{padding-block:80px;border-bottom:1px solid var(--m-line)}.m-roadmap h2{font-size:var(--m-section-title-size);font-weight:500;line-height:1.1;letter-spacing:-.025em;margin:0 0 26px}.m-roadmap h2 span{color:#8b7e88}.m-planned{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--m-muted);margin-top:35px}.m-roadmap ul{list-style:none;display:flex;gap:12px;padding:0;flex-wrap:wrap;margin:15px 0 0}.m-roadmap li{padding:12px 19px;border:1px solid #c9bdc6;border-radius:4px;font-size:17px}.m-contact{display:flex;justify-content:space-between;align-items:center;gap:45px;padding-block:80px}.m-contact h2{font-size:var(--m-section-title-size);line-height:1.05;letter-spacing:-.03em;font-weight:500;margin:0 0 20px}.m-contact p:not(.m-eyebrow){font-size:18px;color:var(--m-muted)}.m-contact-actions{display:flex;flex-direction:column;gap:20px;align-items:flex-start}.m-contact-actions>a:not(.m-button){color:var(--m-muted);font-size:16px}.m-image-dialog{width:min(96vw,1600px);height:min(92vh,1100px);padding:0;background:#17131c;border:1px solid #685065;border-radius:8px;color:white}.m-image-dialog::backdrop{background:#100a14df;backdrop-filter:blur(10px)}.m-image-dialog-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;height:58px;font-size:16px}.m-image-dialog-bar button{background:none;border:1px solid #756674;color:white;border-radius:4px;font-size:27px;line-height:1;width:34px;height:34px;cursor:pointer}.m-image-dialog>img{width:100%;height:calc(100% - 58px);object-fit:contain;background:#e7e7e7}.mercury-main :focus-visible,.m-product-nav :focus-visible{outline:2px solid #bd3554;outline-offset:5px}.m-animate{animation:mercury-in .4s ease both}@keyframes mercury-in{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.m-hero h1{font-size:86px}}
@media(max-width:1000px){.m-wrap{padding-inline:30px}.m-product-nav{padding:12px 24px}.m-product-nav>div{gap:16px}.m-product-nav>div>a{font-size:13px}.m-hero{grid-template-columns:1fr 160px;gap:25px}.m-hero-aside{padding-left:20px}.m-screen-open{height:420px}.m-platform{gap:40px}.m-platform-list article{grid-template-columns:1fr;gap:8px}.m-workflow{gap:25px;grid-template-columns:1fr 1fr}.m-module-heading{gap:40px}.m-ml-layout{gap:35px}.m-coverage{grid-template-columns:130px 1fr;gap:15px}.m-coverage>strong{font-size:47px}.m-scale-grid{gap:45px}}
@media(max-width:700px){html{scroll-padding-top:100px}.m-wrap{padding-inline:22px}.m-product-nav{padding:12px 18px;gap:10px}.m-wordmark{font-size:16px;gap:7px}.m-wordmark small{display:none}.m-product-nav>div>a:not(.m-nav-cta){display:none}.m-product-nav>div{gap:0}.m-nav-cta{font-size:12px!important;padding:7px 10px}.m-hero{padding-top:45px;padding-bottom:28px;display:block}.m-hero h1{font-size:clamp(39px,9.2vw,62px);margin-bottom:23px}.m-eyebrow{font-size:10px;letter-spacing:.11em;margin-bottom:20px}.m-hero-bottom>p{font-size:18px}.m-hero-aside{display:none}.m-actions{gap:22px}.m-screen-tabs{gap:0}.m-screen-tabs button{font-size:13px;padding:13px 9px;flex:1}.m-app-frame{margin-top:15px}.m-app-bar{height:30px;font-size:8px;padding:0 10px}.m-app-bar>span:last-child{display:none}.m-screen-open{height:260px}.m-screen-open>span,.m-image-zoom>span{font-size:11px;padding:5px 8px;bottom:8px;right:8px}.m-screen-caption{display:block}.m-screen-caption p{font-size:14px;min-height:66px}.m-screen-caption>span{display:block;font-size:9px;margin-top:10px}.m-workspace-facts{grid-template-columns:1fr;gap:25px;margin-top:30px;padding-bottom:44px}.m-workspace-facts article{border-top:1px solid var(--m-line);padding-top:22px}.m-workspace-facts article:first-child{border:0;padding-top:0}.m-workspace-facts h2{font-size:23px}.m-platform{padding-block:45px;grid-template-columns:1fr;gap:15px}.m-section-intro h2{font-size:35px}.m-section-intro>p:last-child{font-size:17px}.m-platform-list article{grid-template-columns:1fr;gap:9px;padding-block:18px}.m-corrosion{padding-block:50px}.m-module-heading{display:block}.m-module-heading h2{font-size:50px;margin-bottom:25px}.m-module-heading>p{font-size:17px}.m-module-proof{gap:15px;flex-wrap:wrap;padding-block:22px;margin:25px 0 10px}.m-module-proof>span{font-size:13px}.m-module-proof strong{display:block;font-size:24px}.m-workflow{grid-template-columns:1fr;gap:26px}.m-steps button{font-size:13px;padding:10px 8px}.m-step-detail{min-height:135px}.m-export{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.m-export>p{grid-column:1/-1;font-size:19px}.m-export>span{font-size:12px}.m-export b{font-size:21px}.m-intelligence{padding-block:50px}.m-ml-layout{grid-template-columns:1fr;gap:30px;margin-top:30px}.m-ml-image img{max-height:420px;object-fit:contain;background:#fff}.m-coverage{grid-template-columns:130px 1fr;gap:20px}.m-scale{padding-block:45px}.m-scale-grid{grid-template-columns:1fr;gap:25px}.m-scale h2{font-size:37px}.m-scale h2 strong{font-size:87px}.m-scale h2>span{font-size:28px}.m-scale figure img{height:230px}.m-roadmap{padding-block:45px}.m-roadmap h2{font-size:var(--m-section-title-size)}.m-roadmap li{font-size:15px;padding:9px 13px}.m-contact{display:block;padding-block:45px}.m-contact h2{font-size:var(--m-section-title-size)}.m-contact-actions{margin-top:30px;gap:18px}.m-image-dialog{width:96vw;height:80vh}.m-image-dialog-bar{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.m-animate{animation:none}.m-button{transition:none}.m-button:hover{transform:none}}

.mercury-main{max-width:none;width:100%;margin:0;padding:0}.m-product-nav>div>a{color:#6b5d69}.m-product-nav>div>a:hover{color:#9e1026}.m-product-nav>div>.m-nav-cta{color:#8d1128}.mercury-page .ns-merc{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;line-height:1.05;text-decoration:none;padding-block:6px}.mercury-page .ns-merc-software{font-size:10px;font-weight:400;letter-spacing:.08em;margin-top:2px}
.mercury-page .ns-head{position:relative;top:auto;z-index:36}.mercury-page .m-product-nav{z-index:37}
/* Mercury's outer frame stays deep burgundy in both themes. */
html[data-theme] .mercury-page .ns-head,html[data-theme] .mercury-page .ns-foot{--line:#462633;--ink:#efe3e9;--ink-2:#c9b4c0;--ink-3:#a78b9b;--accent:#f0a4ba;background:#160b12;border-color:#462633;color:#c9b4c0}
html[data-theme="dark"] .mercury-page .ns-head,html[data-theme="dark"] .mercury-page .ns-foot{background:#10080d;border-color:#3c1d2c}
html[data-theme] .mercury-page .ns-head{box-shadow:0 4px 22px #16050b26}
html[data-theme] .mercury-page .ns-head-in>.ns-nav{border-top-color:#462633}
html[data-theme] .mercury-page .ns-head .ns-nav a,html[data-theme] .mercury-page .ns-head .ns-search-btn,html[data-theme] .mercury-page .ns-head .ns-theme{color:#d9c6d1}
html[data-theme] .mercury-page .ns-head .ns-nav a:hover,html[data-theme] .mercury-page .ns-head .ns-search-btn:hover{color:#fff}
html[data-theme] .mercury-page .ns-head .ns-theme{border-color:#694052}
html[data-theme] .mercury-page .ns-head .ns-theme:hover{border-color:#db8ca6;color:#ffd6e4}
html[data-theme] .mercury-page .ns-head .ns-nav .ns-merc{background:#681a34;color:#ffe2ec;border:1px solid #a34c69;box-shadow:none}
html[data-theme] .mercury-page .ns-head .ns-nav .ns-merc:hover{background:#8c2648;box-shadow:0 0 22px #c82d5638}
html[data-theme] .mercury-page .ns-footer-iso{color:#e6d5df}
html[data-theme] .mercury-page .ns-foot a[href]:hover{color:#ffb4ce}

/* Mercury light palette. The recorded interface images retain their original colours. */
html[data-theme="light"] .mercury-page {
  --m-brand: #990D1D;
  --m-hover: #780A17;
  --m-selected: #F8EAED;
  --m-paper: #FFFFFF;
  --m-panel: #F5F6F8;
  --m-border: #DFE3E8;
  --m-graphite: #20252D;
  --m-slate: #596473;
  --m-silver: #D5D8DC;
  --nav-ground: var(--m-panel);
  background: var(--m-paper);
  color: var(--m-graphite);
}
html[data-theme="light"] .mercury-main {
  --wine: var(--m-brand);
  --m-ink: var(--m-graphite);
  --m-muted: var(--m-slate);
  --m-line: var(--m-border);
  background: var(--m-paper);
  color: var(--m-ink);
}
html[data-theme="light"] .mercury-page :is(.ns-head, .ns-foot) {
  --ink: var(--m-paper);
  --ink-2: var(--m-silver);
  --ink-3: var(--m-silver);
  --line: var(--m-slate);
  --accent: var(--m-paper);
  background: var(--m-graphite);
  color: var(--m-silver);
  border-color: var(--m-slate);
  box-shadow: none;
}
html[data-theme="light"] .mercury-page .site-masthead :is(nav a, .fs-header-actions a, .fs-search, #fs-theme),
html[data-theme="light"] .mercury-page .ns-footer-iso { color: var(--m-silver); }
html[data-theme="light"] .mercury-page .site-masthead :is(a:hover, button:hover, [aria-current="page"]),
html[data-theme="light"] .mercury-page .ns-foot a:hover { color: var(--m-paper); }
html[data-theme="light"] .mercury-page .site-masthead #fs-theme { border-color: var(--m-silver); }
html[data-theme="light"] .mercury-page .home-shortcuts {
  --link-ink: var(--m-slate);
  --link-hover: var(--m-hover);
  --rail-accent: var(--m-brand);
  --nav-line: var(--m-border);
}
html[data-theme="light"] .mercury-page .home-shortcuts::before { background: rgb(245 246 248 / 90%); }
html[data-theme="light"] .mercury-page .home-shortcuts [aria-current="page"] { background: var(--m-selected); color: var(--m-brand); }

html[data-theme="light"] .m-product-nav { background: var(--m-panel); color: var(--m-graphite); border-color: var(--m-border); }
html[data-theme="light"] :is(.m-wordmark, .m-eyebrow, .m-hero h1 span, .m-module-heading h2 em, .m-step-detail > span) { color: var(--m-brand); }
html[data-theme="light"] :is(.m-hero h1, .m-module-heading h2, .m-step-detail h3, .m-module-proof strong, .m-export p, .m-export b) { color: var(--m-graphite); }
html[data-theme="light"] :is(.m-product-nav > div > a, .m-wordmark small, .m-screen-caption > span, .m-roadmap h2 span, .m-scale h2 > span,
  .m-module-heading > p, .m-module-proof span, .m-step-detail p, .m-workflow-image > p, .m-export, .m-steps button span) { color: var(--m-slate); }
html[data-theme="light"] .m-product-nav > div > a:hover,
html[data-theme="light"] .m-text-link:hover { color: var(--m-hover); }
html[data-theme="light"] :is(.m-button, .m-product-nav > div > .m-nav-cta) {
  background: var(--m-brand); border-color: var(--m-brand); color: var(--m-paper);
}
html[data-theme="light"] :is(.m-button:hover, .m-product-nav > div > .m-nav-cta:hover) {
  background: var(--m-hover); border-color: var(--m-hover); color: var(--m-paper);
}
html[data-theme="light"] :is(.m-hero-aside, .m-screen-tabs, .m-module-proof, .m-export, .m-ml-image, .m-scale, .m-scale figure img, .m-roadmap li, .m-workflow-image .m-image-zoom) { border-color: var(--m-border); }
html[data-theme="light"] .m-fine-rule { background: var(--m-silver); }
html[data-theme="light"] .m-text-link { color: var(--m-brand); border-color: var(--m-silver); }
html[data-theme="light"] :is(.m-corrosion, .m-scale) { background: var(--m-panel); color: var(--m-graphite); }
html[data-theme="light"] .m-screen-tabs button { color: var(--m-slate); }
html[data-theme="light"] .m-steps button { background: var(--m-paper); border-color: var(--m-border); color: var(--m-graphite); }
html[data-theme="light"] :is(.m-steps, .m-screen-tabs) button:hover { background: var(--m-selected); color: var(--m-hover); }
html[data-theme="light"] :is(.m-steps, .m-screen-tabs) button[aria-selected="true"] { background: var(--m-selected); border-color: var(--m-brand); color: var(--m-brand); }
html[data-theme="light"] .m-steps button[aria-selected="true"] span { color: inherit; }
html[data-theme="light"] :is(.m-app-frame, .m-ml-image) { border-color: var(--m-border); box-shadow: 0 18px 42px -28px rgb(32 37 45 / 32%); }
html[data-theme="light"] :is(.m-app-frame, .m-image-dialog) { background: var(--m-graphite); color: var(--m-paper); border-color: var(--m-border); }
html[data-theme="light"] .m-app-bar { color: var(--m-silver); }
html[data-theme="light"] .m-app-bar > span:last-child { opacity: 1; }
html[data-theme="light"] .m-app-dots i { background: var(--m-silver); }
html[data-theme="light"] :is(.m-screen-open, .m-image-dialog > img) { background: var(--m-panel); }
html[data-theme="light"] :is(.m-screen-open, .m-image-zoom) > span { background: var(--m-graphite); color: var(--m-paper); }
html[data-theme="light"] .m-image-dialog-bar button { color: var(--m-paper); border-color: var(--m-slate); }
html[data-theme="light"] .m-image-dialog::backdrop { background: rgb(32 37 45 / 85%); }
html[data-theme="light"] :is(.mercury-main, .m-product-nav) :focus-visible { outline-color: var(--m-brand); }
html[data-theme="light"] .mercury-page .site-masthead :focus-visible { outline-color: var(--m-silver); }

html[data-theme="light"] .mercury-page header.site-masthead.ns-head { background: var(--m-graphite); }
.m-silver-mark img { display: block; height: auto; }
html[data-theme="dark"] :is(.m-wordmark, .m-silver-mark) img { filter: brightness(0) invert(1); }

/* Dark Mercury surfaces and the higher-luminance tint used for small accent text. */
html[data-theme="dark"] .mercury-page {
  --m-brand: #990D1D;
  --m-hover: #780A17;
  --m-graphite: #20252D;
  --m-surface: #171A20;
  --m-frame: #171317;
  --m-ink: #F5F6F8;
  --m-muted: #D5D8DC;
  --m-line: #596473;
  --wine: #F0AAB3;
  --m-selected: #512630;
  --nav-ground: var(--m-graphite);
  color-scheme: dark;
  background: var(--m-surface);
  color: var(--m-ink);
}
html[data-theme="dark"] .mercury-main {
  --m-ink: #F5F6F8; --m-muted: #D5D8DC; --m-line: #596473; --wine: #F0AAB3;
  background: radial-gradient(ellipse 85% 17% at 100% 0, #352027, transparent 75%), var(--m-surface);
  color: var(--m-ink);
}
html[data-theme="dark"] .mercury-page :is(header.site-masthead.ns-head, .ns-foot) {
  --ink: var(--m-ink); --ink-2: var(--m-muted); --ink-3: var(--m-muted);
  --accent: var(--wine); --line: var(--m-line);
  background: var(--m-frame); color: var(--m-muted); border-color: var(--m-line); box-shadow: none;
}
html[data-theme="dark"] .mercury-page .site-masthead :is(nav a, .fs-header-actions a, .fs-search, #fs-theme),
html[data-theme="dark"] .mercury-page .ns-footer-iso { color: var(--m-muted); }
html[data-theme="dark"] .mercury-page .site-masthead :is(a:hover, button:hover, [aria-current="page"]),
html[data-theme="dark"] .mercury-page .ns-foot a[href]:hover { color: var(--wine); }
html[data-theme="dark"] .mercury-page .site-masthead #fs-theme { border-color: var(--m-muted); }
html[data-theme="dark"] .m-product-nav { background: var(--m-graphite); color: var(--m-ink); border-color: var(--m-line); }
html[data-theme="dark"] :is(.m-wordmark, .m-eyebrow, .m-hero h1 span, .m-module-heading h2 em, .m-step-detail > span, .m-text-link) { color: var(--wine); }
html[data-theme="dark"] :is(.m-hero h1, .m-module-heading h2, .m-step-detail h3, .m-export p, .m-export b) { color: var(--m-ink); }
html[data-theme="dark"] :is(.m-product-nav > div > a, .m-wordmark small, .m-screen-caption > span, .m-module-heading > p, .m-module-proof span, .m-workflow-image > p, .m-step-detail p, .m-export, .m-scale h2 > span, .m-roadmap h2 span) { color: var(--m-muted); }
html[data-theme="dark"] :is(.m-button, .m-product-nav > div > .m-nav-cta) { background: var(--m-brand); color: white; border-color: var(--wine); }
html[data-theme="dark"] :is(.m-button:hover, .m-product-nav > div > .m-nav-cta:hover) { background: var(--m-hover); }
html[data-theme="dark"] :is(.m-text-link:hover, .m-product-nav > div > a:hover) { color: white; }
html[data-theme="dark"] :is(.m-hero-aside, .m-text-link, .m-screen-tabs, .m-module-proof, .m-export, .m-workflow-image .m-image-zoom, .m-scale figure img) { border-color: var(--m-line); }
html[data-theme="dark"] .m-fine-rule { background: var(--m-line); }
html[data-theme="dark"] .m-corrosion { background: radial-gradient(ellipse at 94% 16%, #48222B, transparent 56%), var(--m-graphite); color: var(--m-ink); }
html[data-theme="dark"] :is(.m-scale, .m-app-frame, .m-app-bar, .m-screen-open, .m-image-dialog, .m-image-dialog > img, .m-roadmap li) { background: var(--m-graphite); color: var(--m-ink); border-color: var(--m-line); }
html[data-theme="dark"] :is(.m-app-dots i, .m-fine-rule) { background: var(--m-line); }
html[data-theme="dark"] .m-app-bar > span:last-child { opacity: 1; }
html[data-theme="dark"] :is(.m-app-frame, .m-ml-image) { border-color: var(--m-line); box-shadow: 0 16px 40px -26px #0009; }
html[data-theme="dark"] :is(.m-screen-open, .m-image-zoom) > span { background: var(--m-graphite); color: white; }
html[data-theme="dark"] .m-image-dialog-bar button { color: white; border-color: var(--m-muted); }
html[data-theme="dark"] .m-image-dialog::backdrop { background: rgb(15 17 21 / 88%); }
html[data-theme="dark"] .m-steps button { color: var(--m-ink); border-color: var(--m-line); background: var(--m-surface); }
html[data-theme="dark"] :is(.m-screen-tabs button, .m-steps button span) { color: var(--m-muted); }
html[data-theme="dark"] :is(.m-steps, .m-screen-tabs) button:is(:hover, [aria-selected="true"]) { background: var(--m-selected); color: #F8EAED; border-color: var(--wine); }
html[data-theme="dark"] .m-steps button[aria-selected="true"] span { color: inherit; }
html[data-theme="dark"] .mercury-page :is(.mercury-main, .m-product-nav, .site-masthead) :focus-visible { outline-color: var(--wine); }

html[data-theme="light"] .mercury-page .fs-depth-rail {
  --rail-ground: var(--m-panel); --rail-hover: var(--m-selected);
  --nav-line: var(--m-silver); --tick-ink: var(--m-slate);
  --depth-ink: var(--m-slate); --depth-value: var(--m-graphite); --rail-accent: var(--m-brand);
}
html[data-theme="dark"] .mercury-page :is(.fs-depth-rail, .home-shortcuts) {
  --rail-ground: var(--m-graphite); --rail-hover: #31252C;
  --nav-line: var(--m-line); --tick-ink: var(--m-muted);
  --depth-ink: var(--m-muted); --depth-value: var(--m-ink); --rail-accent: var(--wine);
  --link-ink: var(--m-muted); --link-hover: white;
}
html[data-theme="dark"] .mercury-page .home-shortcuts::before { background: rgb(32 37 45 / 90%); }
html[data-theme="dark"] .mercury-page .home-shortcuts [aria-current="page"] { color: #F8EAED; background: var(--m-selected); }

.m-hero .m-actions { margin-top: clamp(36px, 4vw, 60px); }
.m-hero-bottom > p + p { margin-top: 0; }
.m-license-trigger { font-family: inherit; cursor: pointer; }
.m-product-nav .m-license-trigger { font-size: 14px; border-radius: 4px; }
.mercury-page :is(.m-license-trigger, .m-license-dialog .nx-contact-submit) {
  background: var(--m-brand); color: white; border: 1px solid var(--m-brand);
}
.mercury-page :is(.m-license-trigger, .m-license-dialog .nx-contact-submit):hover { background: var(--m-hover); }
html[data-theme="dark"] .m-license-trigger { border-color: var(--wine); }
.m-license-dialog {
  --form-bg: var(--m-paper);
  --form-panel: var(--m-panel);
  --form-ink: var(--m-graphite);
  --form-muted: var(--m-slate);
  --form-line: #8993A0;
  --form-accent: var(--m-brand);
  background: var(--form-bg); color: var(--form-ink); border-color: var(--form-line);
}
html[data-theme="dark"] .m-license-dialog {
  --form-bg: var(--m-surface); --form-panel: var(--m-graphite);
  --form-ink: var(--m-ink); --form-muted: var(--m-muted); --form-accent: var(--wine);
}
.m-license-dialog::backdrop { background: rgb(24 22 26 / 72%); }
.m-license-dialog .nx-dialog-top { background: var(--form-bg); border-color: var(--form-line); }
.m-license-dialog .nx-dialog-top > span,
.m-license-dialog .nx-contact-form label > span,
.m-license-dialog .nx-form-status.is-error { color: var(--form-accent); }
.m-license-dialog .nx-dialog-top button { color: var(--form-ink); border-color: var(--form-line); }
.m-license-dialog .nx-contact-copy > p:not(.nx-eyebrow),
.m-license-dialog .nx-contact-form label > .nx-optional,
.m-license-dialog :is(.nx-verification, .nx-verification small, .nx-form-bottom p) { color: var(--form-muted); }
.m-license-dialog :is(.nx-contact-form label, .nx-form-status) { color: var(--form-ink); }
.m-license-dialog .nx-contact-form :is(input:not([type=hidden]), textarea) {
  color: var(--form-ink); background: var(--form-panel); border-color: var(--form-line);
}
.m-license-dialog .nx-contact-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--form-ink); box-shadow: 0 0 0 1000px var(--form-panel) inset;
}
.m-license-dialog .nx-contact-form textarea::placeholder { color: var(--form-muted); }
.m-license-dialog :focus-visible { outline: 2px solid var(--form-accent); outline-offset: 3px; }
.m-license-dialog .nx-wa-option { color: var(--form-accent); border-color: var(--form-line); text-decoration: underline; text-underline-offset: 4px; }
.m-license-dialog .nx-contact-submit { border-radius: 4px; }

html:has(.m-image-dialog[open]) { overflow: hidden; }

/* Mercury hero and corrosion film. */
.m-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 86px);
}
.m-hero h1 { font-size: clamp(42px, 5.1vw, 80px); text-wrap: balance; }
.m-film { width: 100%; min-width: 0; margin: 0; }
.m-promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--m-line);
}
.m-film figcaption { margin-top: 8px; text-align: right; font-size: .82rem; }
.m-film figcaption a { color: var(--m-muted); text-underline-offset: 3px; }
@media (min-width: 801px) {
  .m-hero { grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); }
}
.m-workspace-facts { margin-top: 0; padding-top: clamp(25px, 3.5vw, 50px); border-top: 1px solid var(--m-line); }
.m-module-proof strong { font-variant-numeric: tabular-nums; }
.m-section-intro, .m-module-heading { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .m-section-arrival { animation: mercury-arrival 650ms cubic-bezier(.18,.65,.24,1) both; }
  @keyframes mercury-arrival {
    from { transform: translateY(12px); opacity: .82; }
    to { transform: translateY(0); opacity: 1; }
  }
}
.m-image-dialog-bar .m-image-tools { display: flex; gap: 10px; align-items: center; }
.m-image-dialog-bar .m-zoom-toggle { width: auto; padding-inline: 12px; font: 15px var(--font-body); }
.m-detail-view { width: 100%; height: calc(100% - 58px); overflow: auto; background: var(--m-graphite); }
.m-detail-view img { display: block; width: 100%; height: 100%; object-fit: contain; }
.m-detail-view.is-enlarged img { width: max(165%, min(1400px, 300%)); max-width: none; height: auto; }
@media (max-width: 800px) {
  .m-hero { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .m-hero h1 { font-size: clamp(40px, 7.8vw, 60px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.m-detail-view img { cursor: zoom-in; }
.m-detail-view.is-enlarged img { cursor: zoom-out; }

.m-module-proof { border-bottom: 0; margin-bottom: 0; }
.m-corrosion .m-export { margin-top: 0; }

/* The hero leaflet opens the product sheet in the existing PDF dialog. */
.m-hero .m-leaflet-button {
  gap: 11px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.25;
}
.m-leaflet-button span {
  margin-inline-start: 5px;
  padding-inline-start: 13px;
  border-inline-start: 1px solid rgb(255 255 255 / 48%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .10em;
}

@media screen and (prefers-reduced-motion: no-preference) {
  .m-workspace-facts .m-fact-pending { opacity: 0; }
  .m-fact-arriving > h2,
  .m-fact-arriving > p {
    animation: mercury-fact-in 950ms cubic-bezier(.18,.72,.24,1) backwards;
    animation-delay: var(--fact-delay, 0ms);
  }
  .m-fact-arriving > p { animation-delay: calc(var(--fact-delay, 0ms) + 180ms); }
  @keyframes mercury-fact-in {
    from { opacity: 0; transform: translateY(13px); }
    to { opacity: 1; transform: none; }
  }
}

.m-workflow-copy { padding-block: clamp(38px, 5vw, 68px); }
.m-workflow-copy .m-eyebrow { margin: 0 0 12px; }
.m-workflow-copy h2 {
  margin: 0;
  font-size: var(--m-section-title-size);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: var(--m-section-title-weight);
}
.m-workflow-copy h2 span { color: var(--wine); }
.m-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px clamp(24px, 4vw, 52px);
  max-width: 57rem;
  margin-top: clamp(22px, 3vw, 34px);
}
.m-capabilities h3 { margin: 0 0 5px; font-size: 1.2rem; line-height: 1.25; }
.m-capabilities p { margin: 0; color: var(--m-muted); line-height: 1.5; }
@media (max-width: 680px) {
  .m-capabilities { grid-template-columns: 1fr; gap: 18px; }
}

/* Corrosion module workflow */
#corrosion { padding-block: clamp(52px, 7vw, 98px); }
#corrosion .m-eyebrow { margin: 0 0 20px; }
#corrosion .flow-title {
  margin: 0; font-size: var(--m-section-title-size); line-height: 1.01;
  letter-spacing: -.048em; font-weight: var(--m-section-title-weight); text-wrap: balance;
}
#corrosion .flow-title em { color: var(--wine); font-style: normal; }
#corrosion .flow-lead {
  max-width: 62ch; margin: 21px 0 0; color: var(--m-muted);
  font-size: clamp(1.02rem, 1.3vw, 1.19rem); line-height: 1.55;
}
#corrosion .flow-stages {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(24px, 4vw, 60px);
  list-style: none; padding: 0; margin: 38px 0 0;
}
#corrosion .flow-stages li { position: relative; padding-top: 22px; }
#corrosion .flow-stages li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 88%; height: 10px; background: var(--wine); pointer-events: none;
  clip-path: polygon(0 42%, calc(100% - 4px) 42%, calc(100% - 8px) 0,
    calc(100% - 5.5px) 0, 100% 50%, calc(100% - 5.5px) 100%,
    calc(100% - 8px) 100%, calc(100% - 4px) 58%, 0 58%);
}
@media (prefers-reduced-motion: no-preference) {
  #corrosion .flow-stages[data-arrows="waiting"] li::before { opacity: 0; }
  #corrosion .flow-stages[data-arrows="drawing"] { --stage-duration: 1s; }
  #corrosion .flow-stages[data-arrows="drawing"] h3 {
    animation: mercury-stage-title var(--stage-duration) ease-in-out var(--arrow-delay, 0s);
  }
  @keyframes mercury-stage-title {
    0%, 100% { color: var(--m-ink); font-weight: 500; }
    12%, 88% { color: var(--wine); font-weight: 700; }
  }
  #corrosion .flow-stages[data-arrows="drawing"] li::before {
    animation: mercury-stage-arrow var(--stage-duration) cubic-bezier(.32,.04,.27,1) var(--arrow-delay, 0s) both;
  }
  #corrosion .flow-stages li:nth-child(2) { --arrow-delay: 1.1s; }
  #corrosion .flow-stages li:nth-child(3) { --arrow-delay: 2.2s; }
  @keyframes mercury-stage-arrow {
    from { width: 9px; opacity: 0; }
    10% { opacity: 1; }
    to { width: 88%; opacity: 1; }
  }
}
#corrosion .flow-stages h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.035em; }
#corrosion .flow-stages p { margin: 9px 0 0; max-width: 34ch; font-size: 1.04rem; line-height: 1.55; color: var(--m-muted); }
#corrosion .export-group {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center;
  margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--m-line);
}
#corrosion .export-group > p { margin: 0; font-size: 1.06rem; line-height: 1.4; }
#corrosion .formats { margin: 0; display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 3vw, 44px); }
#corrosion .formats > div { display: flex; align-items: baseline; gap: 7px; }
#corrosion .formats dt { color: var(--m-muted); font-size: .9rem; }
#corrosion .formats dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) {
  #corrosion { padding-block: 34px; }
  #corrosion .m-eyebrow { margin-bottom: 14px; }
  #corrosion .flow-lead { margin-top: 15px; }
  #corrosion .flow-stages { grid-template-columns: 1fr; margin-top: 25px; gap: 18px; }
}

/* Shared type scale for the page title and the main section headings. */
.mercury-main {
  --m-page-title-size: clamp(2.5rem, 4.5vw, 4rem);
  --m-section-title-weight: 600;
  --m-section-title-size: clamp(2rem, 3.5vw, 3rem);
}
/* Open hero on the page surface. The film keeps its original frame. */
.m-hero.m-wrap {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 4.5vw, 72px);
}
.m-hero-copy .m-eyebrow { margin: 0 0 17px; font-size: .73rem; line-height: 1.45; }
.m-hero-copy h1 { margin: 0 0 19px; font-size: var(--m-page-title-size); text-wrap: initial; }
.m-hero-copy .m-hero-bottom > p { margin: 0; max-width: 45ch; font-size: clamp(1rem, 1.13vw, 1.13rem); line-height: 1.5; }
.m-hero-copy .m-hero-bottom > p + p { margin-top: 10px; color: var(--wine); font-weight: 600; }
.m-hero-copy .m-leaflet-button { margin-top: 22px; }
.m-hero .m-promo-video { border-radius: 0; box-shadow: none; }
.m-film figcaption { margin-top: 9px; }
.m-original-link { font-size: .9rem; }
.m-film .m-original-link:hover { color: var(--wine); }

/* Full-width surfaces for workspace, interpretation, and licensing. */
.mercury-main {
  --band-base: #fff; --band-tint: #f2f3f6; --band-line: #d5d8df;
  --contact-surface: #f5eaed;
}
html[data-theme="dark"] .mercury-main {
  --band-base: #171a20; --band-tint: #262a33; --band-line: #42444d;
  --contact-surface: #331c25;
}
.m-band { background: var(--band-base); border-top: 1px solid var(--band-line); }
.m-band-facts { background: var(--band-tint); }
.m-band-facts .m-workspace-facts { padding-block: clamp(16px,calc(4vw - 16px),38px); border: 0; }
.m-workspace-facts article + article { padding-inline-start: clamp(15px,2vw,32px); border-inline-start: 1px solid var(--band-line); }
.m-fact-glyph { display: block; width: 44px; height: 38px; margin-bottom: 9px; color: var(--wine); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.m-band-facts article h2 { margin-bottom: 10px; }

.m-fact-glyph .guide { opacity: .4; }
.m-fact-glyph :is(.fact-window-a, .fact-window-b) rect { fill: var(--band-tint); }
.fact-front-window { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .m-fact-arriving .m-fact-glyph { animation: mercury-fact-in .95s backwards; animation-delay: var(--fact-delay); }
  .m-fact-arriving .fact-traces { animation: mercury-log-scroll 2.8s linear infinite; }
  .m-fact-arriving .fact-window-a { animation: mercury-window-left 5s ease-in-out infinite; }
  .m-fact-arriving .fact-window-b { animation: mercury-window-right 5s ease-in-out infinite; }
  .m-fact-arriving .fact-front-window { animation: mercury-window-front 5s step-end infinite; }
  .m-fact-arriving .fact-step { animation: mercury-step 4.5s ease-in-out infinite; }
  .m-fact-arriving .fact-step-two { --step-delay: .45s; }
  .m-fact-arriving .fact-step-three { --step-delay: .9s; }
  .m-fact-arriving .fact-confirm { stroke-dasharray: 1; animation: mercury-confirm 4.5s ease-in-out infinite; }
  .m-fact-arriving .m-fact-glyph :is(.fact-traces,.fact-window-a,.fact-window-b,.fact-front-window,.fact-step,.fact-confirm) {
    animation-delay: calc(var(--fact-delay, 0s) + var(--step-delay, 0s));
    animation-play-state: var(--glyph-play, paused);
  }
  @keyframes mercury-log-scroll { to { transform: translateY(-18px); } }
  @keyframes mercury-window-left {
    0%,12%,86%,100% { transform: translate(0,0); }
    28%,74% { transform: translate(-4px,3px); }
    43%,59% { transform: translate(6px,6px); }
  }
  @keyframes mercury-window-right {
    0%,12%,86%,100% { transform: translate(0,0); }
    28%,74% { transform: translate(4px,-3px); }
    43%,59% { transform: translate(-6px,-6px); }
  }
  @keyframes mercury-window-front { 0%,74%,100% { opacity: 0; } 28% { opacity: 1; } }
  @keyframes mercury-step { 0%,9%,96%,100% { opacity: 0; } 20%,75% { opacity: 1; } }
  @keyframes mercury-confirm { 0%,40% { stroke-dashoffset: 1; } 56%,86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
}
.m-chapter-jump {
  display: inline-flex; width: fit-content; align-items: center; gap: 12px; margin-top: 26px;
  color: var(--wine); font-size: .94rem; font-weight: 600; text-decoration: none;
}
.m-chapter-jump svg { width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; padding: 4px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.m-chapter-jump:hover, .m-chapter-jump:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
@media (prefers-reduced-motion: no-preference) {
  .m-chapter-jump svg { transition: transform .22s ease-out; }
  .m-chapter-jump:is(:hover,:focus-visible) svg { transform: translateY(3px); }
}
.m-band .m-workflow-copy, .m-band .m-intelligence, .m-band .m-roadmap { padding-block: clamp(40px,5.5vw,78px); }
.m-band .m-roadmap { border: 0; }
.m-band .m-intelligence::before { content: none; }
.m-band-contact { background: var(--contact-surface); }
.m-band-contact .m-contact { padding-block: clamp(38px,5.5vw,76px); }

@media (max-width: 800px) {
  .m-hero.m-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 760px) {
  .m-band-facts .m-workspace-facts { grid-template-columns: 1fr; gap: 0; padding-block: 13px; }
  .m-workspace-facts article { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .m-workspace-facts article + article { border-inline: 0; border-top: 1px solid var(--band-line); margin-top: 9px; padding: 12px 0 0; }
  .m-workspace-facts article p { grid-column: 2; }
  .m-workspace-facts .m-fact-glyph { grid-row: span 2; width: 35px; height: 33px; margin: 0; }
  .m-workspace-facts article h2 { margin-bottom: 4px; }
}

/* Interpretation profile and suggested-zone coverage. */
.m-band .m-intelligence { padding-block: clamp(25px, 4vw, 64px); }
.ml-intro .m-eyebrow { margin: 0 0 12px; font-size: 1rem; letter-spacing: .09em; }
.ml-intro h2 { margin: 0; font-size: var(--m-section-title-size); line-height: 1.04; letter-spacing: -.046em; font-weight: 550; }
.ml-intro h2 em { color: var(--wine); font-style: normal; }
.ml-review {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas: "profile summary" "profile training" "profile results" "profile note";
  gap: 20px clamp(28px, 5vw, 78px);
  align-items: start;
  margin-top: 24px;
}
.ml-review :is(p, figure, dl, dd) { margin: 0; }
.ml-profile { grid-area: profile; }
.ml-profile img { display: block; width: 100%; height: auto; }
.ml-summary { grid-area: summary; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; max-width: 62ch; }
.ml-training { grid-area: training; font-size: 1.05rem; line-height: 1.5; }
.ml-results { grid-area: results; }
.ml-results h3 { font-size: 1.1rem; font-weight: 550; margin: 0 0 12px; }
.ml-results dl { border-top: 1px solid var(--m-line); }
.ml-results dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--m-line); padding: 9px 0; }
.ml-results dt, .ml-note { font-size: 1rem; line-height: 1.5; color: var(--m-muted); }
.ml-results dd { font-size: clamp(26px, 2.9vw, 44px); line-height: 1.12; color: var(--wine); font-variant-numeric: tabular-nums; }
.ml-note { grid-area: note; max-width: 75ch; }
#intelligence .m-chapter-jump { font-size: 1rem; }
@media (max-width: 760px) {
  .ml-review { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "profile" "summary" "training" "results" "note"; gap: 18px; }
}

/* Performance is one annotated benchmark figure, followed by the module index. */
.m-benchmark {
  background: var(--m-panel);
  color: var(--m-ink);
  padding-block: clamp(38px, 5.2vw, 76px);
}
html[data-theme="dark"] .m-benchmark {
  background: radial-gradient(ellipse at top right, #45252e, transparent 68%), var(--m-graphite);
}
.benchmark-heading .m-eyebrow { margin: 0 0 16px; }
.benchmark-heading h2 {
  margin: 0;
  font-size: var(--m-section-title-size);
  font-weight: 400; line-height: 1.04; letter-spacing: -.048em;
}
.benchmark-heading strong { color: var(--wine); font-weight: 580; white-space: nowrap; }
.benchmark-heading > p:last-child { color: var(--m-muted); font-size: 1.04rem; margin: 12px 0 0; }
.benchmark-figure { margin: clamp(22px, 3vw, 38px) 0 0; }
.benchmark-plate {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff; color: #383d46; border-block: 1px solid #d5d8dc;
}
.benchmark-view { padding: 12px clamp(12px, 2vw, 26px) 16px; }
.benchmark-view + .benchmark-view { border-left: 1px solid #d5d8dc; }
.benchmark-view > span { display: block; font-size: .86rem; font-weight: 600; }
.benchmark-view svg { display: block; width: min(100%, clamp(200px, 30vw, 435px)); height: auto; aspect-ratio: 1.494; margin-inline: auto; overflow: hidden; }
.benchmark-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; margin-top: 12px; line-height: 1.5; }
.benchmark-figure figcaption > span { max-width: 74ch; }
.benchmark-figure a { flex: none; color: var(--wine); text-underline-offset: .22em; }
.benchmark-note { margin: 12px 0 0; font-size: .85rem; line-height: 1.5; color: var(--m-muted); }
.m-band-modules .m-roadmap ul { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 24px; margin-top: 14px; }
.m-band-modules .m-roadmap li { display: grid; place-items: center; text-align: center; border: 0; border-top: 1px solid var(--m-line); border-radius: 0; padding: 11px 0; font-size: 1rem; }
@media (max-width: 700px) {
  .benchmark-figure figcaption { display: grid; gap: 8px; }
  .benchmark-view { padding: 8px 4px; }
  .benchmark-view > span { padding: 0 3px 4px; font-size: .78rem; }
  .benchmark-view svg { height: auto; aspect-ratio: 1.49; }
  .m-band-modules .m-roadmap ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
}

/* The light dropdown has its own surface inside the graphite masthead. */
html[data-theme="light"] .mercury-page .mobile-masthead #mobile-menu :is(a, button) {
  color: var(--menu-ink);
}
html[data-theme="light"] .mercury-page .mobile-masthead #mobile-menu :is([aria-current="page"], a:hover, button:hover, :focus-visible) {
  color: var(--menu-active);
  outline-color: currentColor;
}
html[data-theme="light"] .mercury-page .mobile-masthead #mobile-menu #fs-theme {
  border-color: var(--menu-ink);
}

.mercury-page .ns-back-top {
  --surface: var(--m-selected);
  --accent: var(--m-brand);
}
[data-theme="dark"] .mercury-page .ns-back-top { --accent: var(--wine); }
