/* Mobile homepage hero. */
.reference-site .rf-home-mobile-title{display:none}
@media(max-width:900px){
 .reference-site .rf-home{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;display:grid;grid-template-areas:"video" "copy";grid-template-columns:minmax(0,1fr);color:#202124;background:#fff;isolation:auto}
 .reference-site .rf-home-video{grid-area:video;position:relative;inset:auto;z-index:auto;width:100%;height:auto;aspect-ratio:640/368;object-fit:contain;object-position:center;background:#222}
 .reference-site .rf-home-shade{display:none}
 .reference-site .rf-home-copy{grid-area:copy;position:static;inset:auto;transform:none;padding:28px 24px 20px;min-width:0}
 .reference-site .rf-home-copy>p:first-child{color:#696f75;font-size:11px;letter-spacing:2px;margin:0}
 .reference-site .rf-home h1{font-size:clamp(31px,7.5vw,42px);line-height:1.35;margin:16px 0 18px;letter-spacing:0}
 .reference-site .rf-home-copy>p:last-of-type{color:#696f75;font-size:15px;line-height:1.8;margin:0}
 .reference-site .rf-home-copy a{color:#222;border-bottom-color:#222;font-size:15px;margin-top:22px;padding-bottom:7px}
 .reference-site .rf-home-copy a:focus-visible{outline:2px solid #e32642;outline-offset:4px}
}
@media(max-width:360px){.reference-site .rf-home-copy{padding-inline:18px}.reference-site .rf-home h1{font-size:31px}}

@media(max-width:650px){
 .reference-site .rf-home{position:relative;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.08;overflow:hidden;isolation:isolate;color:#fff;background:#28363d}
 .reference-site .rf-home-video{position:absolute;inset:0;z-index:-3;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:65% center;background:#28363d}
 .reference-site .rf-home-shade{position:absolute;inset:0;z-index:-2;display:block;background:linear-gradient(180deg,rgba(8,16,20,.06) 0%,rgba(8,16,20,.06) 26%,rgba(8,16,20,.52) 26%,rgba(8,16,20,.6) 100%)}
 .reference-site .rf-home-copy{position:absolute;inset:0;z-index:1;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;padding:18px 18px 52px;text-align:center;transform:none}
 .reference-site .rf-home-copy>p{display:none}
 .reference-site .rf-home h1{width:100%;max-width:570px;margin:0;font-weight:300;letter-spacing:0;line-height:1.25}
 .reference-site .rf-home-desktop-title{display:none}
 .reference-site .rf-home-mobile-title{display:flex;flex-direction:column;align-items:center;gap:10px}
 .reference-site .rf-home-mobile-title>span:first-child{max-width:520px;font-size:clamp(24px,7.2vw,32px);line-height:1.16}
 .reference-site .rf-home-mobile-title>span:last-child{font-size:clamp(19px,5.9vw,26px);line-height:1.3;white-space:nowrap}
 .reference-site .rf-home-mobile-title>span:only-child:not([lang="zh-CN"]){max-width:520px;font-size:clamp(24px,7.2vw,32px);line-height:1.16;white-space:normal}
 .reference-site .rf-home-copy a{display:inline-flex;align-items:center;justify-content:center;min-width:160px;min-height:42px;box-sizing:border-box;margin-top:22px;padding:8px 20px;border:1px solid #fff;color:#fff;font-size:14px;text-decoration:none}
}

/* The three requested capability panels appear on the phone homepage only. */
.reference-site .hm-home-features{display:none}
@media(max-width:650px){
 .reference-site #home-next,.reference-site #directions{display:none}
 .reference-site .rc-home .rc-view-all{display:none}
 .reference-site .hm-home-features{display:block;width:100%;overflow:visible}
 .reference-site .hm-inner{width:calc(100% - 36px);margin-inline:auto}
 .reference-site .hm-lab{padding:44px 0 40px;background:#f5f8f9;color:#14242d}
 .reference-site .hm-lab h2{margin:0 0 18px;font-size:clamp(29px,8vw,34px);line-height:1.23;font-weight:400;letter-spacing:-.035em}
 .reference-site .hm-lab p{margin:0 0 28px;color:#5d6e7c;font-size:16px;line-height:1.8}
 .reference-site .hm-lab a{display:block;border-radius:14px;overflow:hidden}
 .reference-site .hm-lab img{display:block;width:100%;height:auto;aspect-ratio:1.42;object-fit:cover;object-position:center}
 .reference-site .hm-process{padding:42px 0 48px;background:#fff;color:#111}
 .reference-site .hm-process h2{width:max-content;max-width:100%;margin:0 0 24px;padding-bottom:15px;border-bottom:1px solid #222;font-size:clamp(30px,8vw,36px);font-weight:300;line-height:1.2;letter-spacing:.02em}
 .reference-site .hm-process p{margin:0 0 44px;font-size:15px;line-height:1.85}
 .reference-site .hm-process ol{display:flex;gap:0;list-style:none;margin:0;padding:0;width:100%}
 .reference-site .hm-process li{position:relative;display:flex;flex:1 1 0;min-width:0;aspect-ratio:1;flex-direction:column;align-items:center;justify-content:center;margin-right:-1px;border:1px solid #222;border-radius:50%;text-align:center;font-size:clamp(7px,2vw,11px);line-height:1.13;overflow-wrap:anywhere}
 .reference-site .hm-process li:last-child{margin-right:0}
 .reference-site .hm-process li::before{content:"";position:absolute;top:-1px;left:50%;width:7px;height:7px;transform:translate(-50%,-50%);border-radius:50%;background:#111}
 .reference-site .hm-process li span{max-width:92%}
 .reference-site .hm-process li small{font-size:inherit;color:#c71937}
 .reference-site .hm-home-features .rf-service-panel.hm-obm{margin-top:0}
 .reference-site .hm-home-features .rf-service-scroll-track .rf-service-canvas{padding-bottom:30px}
 .reference-site .hm-home-features .hm-obm-link{display:inline-block;margin-top:40px;padding-bottom:7px;border-bottom:1px solid #fff;color:#fff;font-size:14px}
 /* Reduce the existing phone OBM panel by a further 30%. */
 .reference-site .hm-home-features .rf-service-scroll-track .rf-service-panel.hm-obm{--rf-service-scroll-scale:.56;height:calc((100svh - var(--rf-service-sticky-top,70px)) * .56);min-height:350px}
 .reference-site .hm-home-features .rf-service-scroll-track .hm-obm .rf-service-canvas{width:739px;padding:14px 10px 20px}
 .reference-site .hm-home-features .hm-obm .rf-service-top{width:calc(100vw - 26px)}
 .reference-site .hm-home-features .hm-obm .rf-service-top .rf-heading{font-size:18px}
 .reference-site .hm-home-features .hm-obm .rf-service-top p{font-size:12px;line-height:1.5}
 .reference-site .hm-home-features .hm-obm .rf-zero-one{gap:7px;padding:13px 0 22px}
 .reference-site .hm-home-features .hm-obm .rf-zero-one strong{font-size:34px}
 .reference-site .hm-home-features .hm-obm .rf-zero-one p{margin:0;font-size:12px;line-height:1.4}
 .reference-site .hm-home-features .hm-obm .rf-zero-one span{font-size:9px}
 .reference-site .hm-home-features .hm-obm .rf-obm-stages{gap:8px;padding-top:14px}
 .reference-site .hm-home-features .hm-obm .rf-obm-stages>div>span{font-size:19px;line-height:1.2;padding-bottom:7px}
 .reference-site .hm-home-features .hm-obm .rf-obm-stages h3{font-size:14px;line-height:1.3;margin-top:8px}
 .reference-site .hm-home-features .hm-obm .rf-obm-stages p{font-size:12px;line-height:1.4}
 .reference-site .hm-home-features .hm-obm .hm-obm-link{box-sizing:border-box;min-height:44px;margin-top:14px;padding-block:10px;font-size:12px}
}

/* A visible, keyboard-accessible control without moving the existing hero copy. */
.reference-site .rf-home-video-actions{position:absolute;inset:auto 24px 24px auto;z-index:2}
.reference-site .rf-home-video-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:104px;padding:8px 12px;border:1px solid #fff;border-radius:0;background:#20282b;color:#fff;font:inherit;font-size:13px;line-height:1.3;cursor:pointer}
.reference-site .rf-home-video-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(min-width:651px) and (max-width:900px){.reference-site .rf-home-video-actions{position:relative;inset:auto;grid-area:video;align-self:end;justify-self:start;margin:8px 12px}}
@media(max-width:650px){.reference-site .rf-home-video-actions{display:none}}

/* Reuse the first four desktop figures as one compact, static phone row. */
@media(max-width:650px){
 .reference-site #home-next.hd-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;box-sizing:border-box;width:100%;margin:0;padding:18px 12px 16px}
 .reference-site #home-next .hd-home-stat{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;padding:0 4px;border-left:1px solid #e8dfe0;text-align:center}
 .reference-site #home-next .hd-home-stat:first-child{border-left:0}
 .reference-site #home-next .hd-home-stat:nth-child(n+5){display:none}
 .reference-site #home-next .hd-home-stat-icon{flex:0 0 24px}
 .reference-site #home-next .hd-home-stat-icon svg{width:24px;height:24px}
 .reference-site #home-next .hd-home-stat-copy{width:100%;align-items:center;gap:6px}
 .reference-site #home-next .hd-home-stat-copy strong{display:flex;align-items:center;justify-content:center;width:100%;min-height:28px;font-size:clamp(21px,5.9vw,25px);line-height:1.2;letter-spacing:-.04em;white-space:nowrap}
 .reference-site #home-next .hd-home-stat:nth-child(3) strong{font-size:clamp(15px,3.8vw,16px);letter-spacing:-.045em}
 .reference-site #home-next .hd-home-stat-copy>span{max-width:100%;font-size:11px;line-height:1.5;min-height:30px;color:#56646c}
}
