/* Structure adapted from the locally archived AMD homepage; YUJIE brand and media retained. */
.theme-amd .site-header{background:#090a0b;color:#fff;border-color:#303236}
.theme-amd .site-header .brand-copy small{color:#b2b6bf}.theme-amd .main-nav a{color:#d5d7dc}.theme-amd .main-nav a:hover,.theme-amd .main-nav a.active{color:#fff}.theme-amd .header-cta{background:transparent;border-color:#757b84}.theme-amd .header-cta:hover{background:#fff;color:#111}
.theme-amd .site-header a:focus-visible,.theme-amd .site-header button:focus-visible{outline-color:#ff626f}
.factory-hero{position:relative;background:#0b0d10;isolation:isolate}.factory-hero:after,.factory-hero:before{display:none}
.factory-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:65px;min-height:600px;padding-top:65px;padding-bottom:65px}
.factory-copy{position:relative;z-index:2;min-width:0}.factory-copy h1{font-size:clamp(40px,4vw,60px);line-height:1.28;max-width:680px}.factory-copy .eyebrow{color:#d8dce3;letter-spacing:2px}.factory-copy .hero-description{max-width:530px;color:#d2d6de;font-size:16px;line-height:1.95}.factory-copy .hero-facts{color:#c1c6cf;font-size:12px;letter-spacing:0;flex-wrap:wrap}.factory-copy .button.primary{border-color:#e33945;background:#d12b38}.factory-copy .button.primary:hover{background:#b51f2b}.factory-copy .button.light{background:#0c0e1166;border-color:#a0a5ad}.factory-copy a:focus-visible,.factory-video-toggle:focus-visible{outline-color:#ff626f}
.factory-media{position:relative;background:#1c1e22;overflow:hidden;min-width:0;border:1px solid #ffffff28;aspect-ratio:16/9;isolation:isolate}.factory-media video{display:block;width:100%;height:100%;object-fit:contain;background:#17191c}
.factory-media-caption{position:absolute;left:22px;bottom:18px;color:#fff;z-index:2;display:flex;align-items:center;gap:13px;padding:8px 12px;background:#080a0dd9;border:1px solid #ffffff26;max-width:calc(100% - 155px)}.factory-media-caption span{font-size:13px;font-weight:600;white-space:nowrap}.factory-media-caption small{font-size:12px;color:#e2e5eb;white-space:nowrap}.factory-video-toggle{position:absolute;right:18px;bottom:18px;z-index:3;border:1px solid #ffffff75;background:#080a0de6;color:#fff;font-size:13px;min-height:44px;min-width:96px;padding:10px 14px;border-radius:2px}.factory-video-toggle:hover{background:#fff;color:#15171b}.factory-video-status{position:absolute;top:14px;right:14px;left:14px;z-index:4;font-size:13px;line-height:1.8;background:#0c1014e8;color:#fff;padding:10px 14px;margin:0}
.factory-hero[data-video-layout=a] .factory-frame{grid-template-columns:minmax(0,620px) 1fr;min-height:620px;padding-top:78px;padding-bottom:78px}
.factory-hero[data-video-layout=a] .factory-media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;z-index:0}
.factory-hero[data-video-layout=a] .factory-media video{object-fit:cover;object-position:60% 52%}
.factory-hero[data-video-layout=a] .factory-media:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#080a0dfb 0%,#080a0df2 26%,#080a0db8 47%,#080a0d38 74%,#080a0d12 100%)}
.factory-hero[data-video-layout=a] .factory-media-caption{left:auto;right:132px;bottom:24px;max-width:none}.factory-hero[data-video-layout=a] .factory-video-toggle{right:24px;bottom:24px}
.factory-hero[data-video-layout=b] .factory-media{box-shadow:0 18px 70px #0005}.factory-hero[data-video-layout=b] .factory-copy h1{font-size:clamp(35px,3.5vw,52px)}
.factory-hero[data-video-layout=c] .factory-frame{display:flex;flex-direction:column;gap:34px;min-height:0;padding-top:52px;padding-bottom:45px;align-items:stretch}
.factory-hero[data-video-layout=c] .factory-copy{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:end}.factory-hero[data-video-layout=c] .factory-copy h1{font-size:46px;margin-bottom:0}.factory-hero[data-video-layout=c] .hero-description{font-size:15px;margin-bottom:20px}.factory-hero[data-video-layout=c] .hero-facts{margin-top:20px}
.factory-hero[data-video-layout=c] .factory-media{width:min(100%,1080px);align-self:center}
.hero-preview-nav{background:#202227;color:#fff;border-bottom:1px solid #3b3d43}.hero-preview-nav>.wrap{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:17px;padding-bottom:17px}.hero-preview-nav strong{display:block;font-size:14px}.hero-preview-nav small{display:block;font-size:12px;color:#c4c8d0;margin-top:3px}.hero-preview-links{display:flex;gap:10px;flex-shrink:0}.hero-preview-links a{font-size:13px;line-height:1.5;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #60656e;background:#282b31;white-space:nowrap}.hero-preview-links a[aria-current=page]{background:#fff;color:#15171b;border-color:#fff}.hero-preview-links a:hover{border-color:#fff}
.theme-amd.is-home{background:#0b0c0e;color:#fff}.theme-amd.is-home .service-strip{background:#16181c;border-color:#34363c;color:#fff}.theme-amd.is-home .service-strip a+a{border-color:#3a3d44}.theme-amd.is-home .service-strip small{color:#bdc2cc}.theme-amd.is-home .service-strip svg{color:#ff6773}.theme-amd.is-home .service-strip a>span:last-child{color:#c2c7d1}
.theme-amd.is-home .product-selection,.theme-amd.is-home .brand-intro{background:#0b0c0e;color:#fff}.theme-amd.is-home .section-heading .eyebrow,.theme-amd.is-home .support-intro .eyebrow,.theme-amd.is-home .brand-intro .eyebrow{color:#ff6773}.theme-amd.is-home .section-heading p,.theme-amd.is-home .selection-note,.theme-amd.is-home .brand-intro p{color:#bbc1cb}.theme-amd.is-home .section-tabs{border-color:#35383f}.theme-amd.is-home .section-tabs button{color:#bfc5ce}.theme-amd.is-home .section-tabs button small{color:#b2b8c3}.theme-amd.is-home .section-tabs button.active{color:#fff;border-color:#f55b68}.theme-amd.is-home .section-tabs button.active small{color:#ff7d87}
.theme-amd.is-home .product-card{background:#191c21;border-color:#383c44;color:#fff}.theme-amd.is-home .product-card:hover{border-color:#929aa8;box-shadow:none}.theme-amd.is-home .product-photo{background:#ececef}.theme-amd.is-home .product-info .model,.theme-amd.is-home .product-info p{color:#bdc4cf}.theme-amd.is-home .card-footer{border-color:#383e47}.theme-amd.is-home .compare-toggle{color:#c3cad5}.theme-amd.is-home .compare-toggle.selected{color:#ff7d87}
.theme-amd.is-home .support-section{background:#17191d;border-color:#35383e;color:#fff}.theme-amd.is-home .support-intro>p,.theme-amd.is-home .setup-steps p{color:#bec5cf}.theme-amd.is-home .setup-steps>a{border-color:#3c414a}.theme-amd.is-home .step-number{color:#ff7d87}.theme-amd.is-home .setup-steps>a>span:last-child{color:#bfc6d1}.theme-amd.is-home .text-link:hover{color:#ff7d87}.theme-amd.is-home .final-banner{background:#22252a;border-top:1px solid #3c4048}.theme-amd.is-home .final-banner .button{border-color:#b1b7c1}
.theme-amd.is-home a:focus-visible,.theme-amd.is-home button:focus-visible{outline-color:#ff6773}
@media(max-width:1150px){.factory-frame{gap:38px;min-height:550px;padding-top:50px;padding-bottom:50px}.factory-copy h1{font-size:45px}.factory-hero[data-video-layout=a] .factory-frame{min-height:580px;grid-template-columns:minmax(0,550px) 1fr;padding-top:60px;padding-bottom:60px}.factory-hero[data-video-layout=c] .factory-copy{gap:40px}.factory-hero[data-video-layout=c] .factory-copy h1{font-size:39px}.factory-media-caption{left:14px;bottom:14px;padding:7px 10px;gap:8px;max-width:calc(100% - 130px)}.factory-media-caption small{display:none}.factory-video-toggle{right:14px;bottom:14px;min-width:90px}}
@media(max-width:900px){.theme-amd .main-nav{background:#0b0c0e;border-color:#383b42}.theme-amd .main-nav a{border-color:#34373e;color:#e0e3e8}.theme-amd .main-nav a.active{color:#ff7d87}.factory-frame{gap:28px}.factory-copy h1{font-size:38px}.factory-copy .hero-description{font-size:14px}.factory-copy .button-row{gap:10px}.factory-copy .button{font-size:13px;padding:10px 15px;gap:14px;min-height:44px}.factory-hero[data-video-layout=b] .factory-copy h1{font-size:36px}.factory-hero[data-video-layout=a] .factory-frame{grid-template-columns:minmax(0,500px) 1fr;min-height:570px}.factory-hero[data-video-layout=c] .factory-copy h1{font-size:34px}.factory-hero[data-video-layout=c] .factory-copy{gap:30px}.hero-preview-nav>.wrap{gap:20px}.hero-preview-links a{padding:10px 12px;font-size:12px}.hero-preview-links{gap:7px}.hero-preview-nav small{max-width:210px}.theme-amd.is-home .service-strip small{color:#c2c7d0}}
@media(max-width:600px){.factory-frame,.factory-hero[data-video-layout=a] .factory-frame,.factory-hero[data-video-layout=c] .factory-frame{display:flex;flex-direction:column;align-items:stretch;min-height:0;gap:28px;padding-top:35px;padding-bottom:30px}.factory-copy,.factory-hero[data-video-layout=c] .factory-copy{display:block}.factory-copy h1,.factory-hero[data-video-layout=b] .factory-copy h1,.factory-hero[data-video-layout=c] .factory-copy h1{font-size:clamp(31px,8.6vw,40px);line-height:1.32;max-width:none;margin-bottom:19px}.factory-copy .eyebrow{font-size:11px;letter-spacing:1px;margin-bottom:19px}.factory-copy .hero-description,.factory-hero[data-video-layout=c] .hero-description{font-size:14px;line-height:1.9;margin-bottom:23px}.factory-copy .hero-facts{font-size:11px;gap:12px;margin-top:23px}.factory-copy .hero-facts span+span{padding-left:12px}.factory-copy .button{font-size:13px;min-height:44px;padding:10px 14px;gap:14px}.factory-copy .button-row{gap:12px}.factory-copy .button.light{border:1px solid #8d939d;padding-left:14px}.factory-media,.factory-hero[data-video-layout=a] .factory-media,.factory-hero[data-video-layout=c] .factory-media{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9;border:1px solid #ffffff30;align-self:auto}.factory-hero[data-video-layout=a] .factory-media video{object-fit:contain;object-position:center}.factory-hero[data-video-layout=a] .factory-media:after{display:none}.factory-media-caption,.factory-hero[data-video-layout=a] .factory-media-caption{left:10px;right:auto;bottom:10px;padding:5px 8px;max-width:calc(100% - 118px)}.factory-media-caption span{font-size:12px}.factory-video-toggle,.factory-hero[data-video-layout=a] .factory-video-toggle{right:10px;bottom:10px;min-width:86px;min-height:44px;font-size:12px;padding:9px 10px}.factory-video-status{top:10px;right:10px;left:10px;font-size:12px}.hero-preview-nav>.wrap{display:block;padding-top:14px;padding-bottom:14px}.hero-preview-nav strong{font-size:13px}.hero-preview-nav small{max-width:none;font-size:12px}.hero-preview-links{margin-top:12px;gap:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-preview-links a{font-size:12px;white-space:normal;text-align:center;padding:9px 6px;min-height:44px}.theme-amd.is-home .service-strip a+a{border-color:#373c45}}
@media(prefers-reduced-motion:reduce){.factory-media{scroll-behavior:auto}}

/* Keep the actual image above the media until a decoded video frame is ready. */
.factory-video-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#17191c;z-index:1;pointer-events:none;opacity:1;transition:opacity .18s ease}
.factory-media.is-video-visible .factory-video-poster{opacity:0}
.factory-hero[data-video-layout=a] .factory-video-poster{object-fit:cover;object-position:60% 52%}
.factory-hero[data-video-layout=a] .factory-media:after{z-index:2}
.factory-hero[data-video-layout=a] .factory-media-caption{z-index:3}
@media(max-width:600px){.factory-hero[data-video-layout=a] .factory-video-poster{object-fit:contain;object-position:center}}
@media(prefers-reduced-motion:reduce){.factory-video-poster{transition:none}}
