:root{--yf-dark:#0B1425;--yf-light:#F6F8FC;--yf-blue:#397AF2;--yf-text:#182338;--yf-muted:#657386;--color-primary:#397AF2;--color-text:#182338;--color-muted:#657386}
html{scroll-padding-top:90px}body{background:#fff;color:var(--yf-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.75}a{color:inherit}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #397af2;outline-offset:5px}.container{width:min(1200px,calc(100% - 96px));max-width:1200px;margin:auto}.yf-skip{position:fixed;left:20px;top:-100px;z-index:9999;background:white;padding:12px}.yf-skip:focus{top:12px}.site-header,.site-header.scrolled{height:auto;background:rgba(255,255,255,.97);border-bottom:1px solid #e8edf4;box-shadow:none;backdrop-filter:blur(12px)}.site-header .header-inner{height:88px;gap:24px}.site-header.header-hidden{transform:none}.site-logo{display:flex;gap:10px;flex-shrink:0}.yf-wordmark{font-size:20px;letter-spacing:2px;line-height:1.25;font-weight:700;color:#182338}.yf-wordmark small{display:block;font-size:8px;letter-spacing:1.8px;margin-top:5px;font-weight:500}.main-nav{gap:26px}.main-nav a{font-size:14px;color:#657386;padding:10px 0;white-space:nowrap}.main-nav a:hover,.main-nav a[aria-current]{color:#397AF2}.lang-switch{color:#182338;border:1px solid #dce3ed;border-radius:3px;font-size:12px;padding:7px 12px;background:transparent;flex-shrink:0}.menu-toggle span{background:#182338}main{min-height:50vh}.yf-corporate{padding-top:88px}.yf-eyebrow{display:block;font-size:11px;font-weight:600;letter-spacing:2px;line-height:1.6;color:#397AF2;margin-bottom:30px}.yf-hero{background:#0B1425;color:white;position:relative;overflow:hidden;min-height:710px}.yf-hero-content{position:relative;padding-top:115px;padding-bottom:28px}.yf-hero .yf-eyebrow{color:#98bafa}.yf-hero h1{font-size:clamp(44px,5.1vw,72px);line-height:1.22;letter-spacing:-2px;font-weight:600;max-width:850px;margin:0 0 32px;color:#fff}.yf-hero p{font-size:17px;line-height:1.95;max-width:555px;color:#b8c4d8;margin:0 0 36px}.yf-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.yf-button{display:inline-flex;align-items:center;justify-content:center;gap:30px;background:#397AF2;color:white;border:1px solid #397AF2;padding:13px 23px;border-radius:3px;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;min-height:48px}.yf-button:hover{background:#2866d2;color:white;transform:translateY(-1px)}.yf-text-link{display:inline-flex;align-items:center;gap:20px;font-size:14px;font-weight:500;color:#397AF2;min-height:44px}.yf-hero .yf-text-link{color:#dce7fc}.yf-hero-bottom{margin-top:108px;padding-top:22px;border-top:1px solid #ffffff20;display:flex;justify-content:space-between;color:#a1b0c9;font-size:10px;letter-spacing:2px}.yf-orbit{position:absolute;inset:-60px -200px -80px 28%;opacity:.65;pointer-events:none;background:radial-gradient(ellipse at 65% 50%,#1b4a8b50,transparent 60%)}.yf-orbit svg{height:100%;width:100%;animation:yf-drift 18s ease-in-out infinite alternate}@keyframes yf-drift{to{transform:translate(20px,-16px) rotate(6deg)}}.yf-section{padding:110px 0}.yf-light{background:#F6F8FC}.yf-split{display:grid;grid-template-columns:1fr 1fr;gap:100px}.yf-corporate h2{font-size:clamp(30px,3vw,42px);font-weight:550;line-height:1.4;letter-spacing:-1px;margin:0 0 30px;color:#182338}.yf-corporate p{color:#657386}.yf-lead{font-size:18px;line-height:1.95;margin:0 0 26px}.yf-expertise{display:grid;grid-template-columns:repeat(4,1fr);margin-top:50px;border-top:1px solid #dce3ed}.yf-expertise article{padding:32px 28px 10px 0;margin-right:26px}.yf-number{display:block;color:#397af2;font-size:12px;margin-bottom:38px}.yf-status{display:inline-block;color:#43607d;background:#e9eff8;border-radius:2px;font-size:11px;letter-spacing:.5px;padding:4px 9px}.yf-expertise h3{font-size:22px;font-weight:550;margin:20px 0 14px}.yf-expertise p{font-size:14px;line-height:1.9}.yf-principles article{display:flex;gap:25px;padding:22px 0;border-bottom:1px solid #e3e8ef}.yf-principles article:first-child{padding-top:0}.yf-principles article>span{font-size:12px;color:#397af2;padding-top:5px}.yf-principles h3{font-size:20px;margin:0 0 8px}.yf-principles p{margin:0;font-size:14px}.yf-contact-band{background:#eef3fc;text-align:center}.yf-contact-band h2{max-width:800px;margin:0 auto 20px}.yf-contact-band p{margin-bottom:30px}.yf-inner-hero{padding:100px 0 75px;background:#F6F8FC;border-bottom:1px solid #e4eaf3}.yf-inner-hero h1{font-size:clamp(38px,5vw,60px);font-weight:550;line-height:1.25;margin:0 0 25px;color:#182338;letter-spacing:-1.5px}.yf-inner-hero p{max-width:700px;font-size:18px}.yf-filters{display:flex;align-items:end;gap:20px;margin-bottom:40px}.yf-filters>div:first-child{flex:1}.yf-filters label{display:block;font-size:13px;margin-bottom:10px}.yf-filters input,.yf-filters select{width:100%;min-height:50px;border:1px solid #dce3ed;background:white;color:#182338;padding:10px 14px;border-radius:3px}.yf-products{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}.yf-product-card{border:1px solid #e0e6ef;padding:34px;border-radius:5px}.yf-product-meta{display:flex;align-items:center;gap:20px;color:#657386;font-size:12px;margin-bottom:24px}.yf-product-card h2{font-size:26px}.yf-product-card p{font-size:15px}.yf-service-links{border-top:1px solid #e4eaf3;margin-top:50px;padding-top:25px;font-size:14px}.yf-legal{max-width:800px}.yf-legal h2{font-size:24px;margin-top:35px}.yf-contact-form{padding:30px;border:1px solid #dce3ed;border-radius:4px}.yf-contact-form input,.yf-contact-form textarea,.yf-contact-form select{max-width:100%;background:#fff!important;color:#182338!important;border:1px solid #bdc9db!important}.yf-contact-form label{color:#182338!important}.yf-contact-form form{margin:0}.site-footer{background:#0B1425;color:#b4c1d5;padding:65px 0 25px;border:0}.yf-footer-top{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;padding-bottom:55px}.yf-footer-top strong{color:#fff;font-weight:500;font-size:17px}.yf-footer-top p{font-size:14px;margin:16px 0}.yf-footer-top a{font-size:13px}.yf-footer-top nav{display:grid;grid-template-columns:repeat(3,1fr);align-content:start;gap:18px 24px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff20;padding-top:24px;font-size:11px;color:#98a9c2}.footer-bottom>div{display:flex;gap:20px}.site-footer a:hover{color:#fff}.page-hero{background:#F6F8FC;color:#182338}.page-hero h1{color:#182338}.blog-card{background:white;color:#182338}.blog-card h3,.blog-card h2{color:#182338}
@media(max-width:1050px){.container{width:calc(100% - 56px)}.main-nav{gap:16px}.yf-split{gap:50px}.yf-expertise{grid-template-columns:repeat(2,1fr)}.yf-expertise article{padding-bottom:25px}.yf-hero h1{font-size:56px}}
@media(max-width:850px){.site-header .header-inner{height:72px}.yf-corporate{padding-top:72px}.menu-toggle{display:flex!important}.main-nav{display:none!important;position:fixed;top:72px;left:0;right:0;background:#fff;padding:24px 28px;border-bottom:1px solid #dce3ed;max-height:calc(100dvh - 72px);overflow:auto}.main-nav.open{display:flex!important;flex-direction:column;align-items:stretch;gap:10px}.main-nav a{padding:12px 0;font-size:16px}.lang-switch{margin-left:auto}.yf-hero{min-height:650px}.yf-hero-content{padding-top:90px}.yf-hero h1{font-size:48px}.yf-hero p{max-width:530px}.yf-orbit{left:10%;opacity:.35}.yf-section{padding:75px 0}.yf-split{grid-template-columns:1fr;gap:25px}.yf-footer-top{gap:35px}.yf-hero-bottom{margin-top:70px}}
@media(max-width:560px){.container{width:calc(100% - 40px)}.header-inner{gap:14px!important}.yf-wordmark{font-size:17px}.yf-wordmark small{font-size:7px}.site-logo svg{width:30px}.yf-hero h1{font-size:40px;letter-spacing:-1px}.yf-hero-content{padding-top:70px}.yf-hero p{font-size:15px}.yf-eyebrow{font-size:9px;letter-spacing:1.3px}.yf-hero-bottom{letter-spacing:1px;gap:18px;font-size:9px}.yf-section{padding:60px 0}.yf-expertise{grid-template-columns:1fr;margin-top:30px}.yf-expertise article{margin:0;border-bottom:1px solid #dce3ed;padding:24px 0}.yf-number{margin-bottom:18px}.yf-products{grid-template-columns:1fr}.yf-filters{align-items:stretch;flex-direction:column}.yf-product-card{padding:25px}.yf-inner-hero{padding:65px 0 45px}.yf-inner-hero p{font-size:16px}.yf-footer-top{grid-template-columns:1fr;gap:35px}.footer-bottom,.footer-bottom>div{flex-direction:column;gap:12px}.yf-contact-form{padding:18px}.yf-actions{gap:18px}.yf-hero{min-height:650px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1!important;transform:none!important}}
/* Explicitly reset legacy hero effects and maintain contrast in the dark footer. */
.yf-corporate .yf-hero{display:block;padding:0;min-height:710px;align-items:initial}.yf-corporate .yf-hero::before{display:none}.site-footer p,.site-footer .footer-bottom a{color:#b4c1d5}.yf-contact-form .card{padding:0!important;border:0;box-shadow:none;background:transparent}.yf-contact-form textarea{width:100%}.yf-contact-form .btn{border-radius:3px;background:#397AF2}.yf-contact-form .yfcf-form-grid{gap:18px}
@media(max-width:850px){.yf-corporate .yf-hero{min-height:650px}}
.yf-pagination{display:flex;gap:18px;justify-content:center;margin-top:45px}.yf-pagination .page-numbers{padding:8px 14px;border:1px solid #dce3ed}.yf-pagination .current{background:#397AF2;color:#fff}.yf-contact-form .card h3{color:#182338}
.site-header,.site-header.scrolled{position:fixed;top:0;left:0;right:0;width:100%;padding:0;z-index:1000}.yf-corporate .yf-hero p{color:#b8c4d8}.yf-corporate .yf-hero .yf-eyebrow{color:#98bafa}

/* Preserve the original Yuanfan sailboat brand mark. */
.site-header .site-logo .logo-svg{width:47px;height:50px;flex-shrink:0}
@media(max-width:560px){.site-header .site-logo .logo-svg{width:38px;height:40px}}

/* Product directory: scan the list, then open an individual product. */
.yf-products.yf-product-list{display:flex;flex-direction:column;gap:0;border-top:1px solid #dce3ed}
.yf-product-list .yf-product-row{display:flex;align-items:center;justify-content:space-between;gap:40px;border:0;border-bottom:1px solid #dce3ed;border-radius:0;padding:34px 0}
.yf-product-row .yf-product-summary{max-width:820px}.yf-product-row .yf-product-meta{margin-bottom:12px}.yf-product-row h2{margin-bottom:12px}.yf-product-row h2 a:hover{color:#397AF2}.yf-product-row p{margin:0}.yf-product-detail-link,.yf-product-pending{flex-shrink:0}.yf-product-pending{font-size:13px;color:#657386}
@media(max-width:560px){.yf-product-list .yf-product-row{align-items:flex-start;flex-direction:column;gap:18px;padding:26px 0}.yf-product-row h2{font-size:23px}}

.lm-page .yf-product-back{position:relative;z-index:2;padding-top:100px;padding-bottom:12px}.lm-page:has(.yf-product-back){padding-top:0}
@media(max-width:850px){.lm-page .yf-product-back{padding-top:84px}}
/* Directory-specific components avoid legacy marketing-card layout rules. */
.yf-directory-section{padding:56px 0 80px;background:#f8faff}
.yf-directory-filters{display:grid;grid-template-columns:minmax(240px,1fr) 220px auto;gap:20px;align-items:end;background:#fff;border:1px solid #e3e9f2;border-radius:12px;padding:24px;margin:0 0 30px}
.yf-directory-filters label{font-size:12px;font-weight:550;color:#657386;margin-bottom:8px}
.yf-directory-filters input,.yf-directory-filters select{background:#f8faff;border-color:#e1e7f0;border-radius:6px;height:48px;min-height:48px}
.yf-directory-filters .yf-button{height:48px;border-radius:6px;min-width:94px}
.yf-products.yf-product-list{border:0;gap:16px}
.yf-directory-item{display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:28px;margin:0;padding:32px;background:#fff;border:1px solid #e3e9f2;border-radius:12px;box-shadow:0 3px 12px #18233803;text-align:left;transition:border-color .2s,box-shadow .2s}
.yf-directory-item:hover{border-color:#bbcfee;box-shadow:0 8px 28px #18233808}
.yf-directory-icon{width:88px;height:88px;background:#eef4ff;border-radius:20px;display:flex;align-items:center;justify-content:center;color:#397af2}
.yf-directory-icon img{width:64px;height:64px;object-fit:contain;border-radius:14px}
.yf-directory-icon svg{width:48px;height:48px}
.yf-directory-summary{min-width:0;text-align:left}
.yf-directory-meta{display:flex;align-items:center;gap:14px;margin-bottom:10px;font-size:12px;color:#657386}
.yf-directory-meta .yf-status{background:#edf6f2;color:#31745c;padding:3px 9px;border-radius:4px;font-size:11px;letter-spacing:0}
.yf-directory-item h2{font-size:24px;font-weight:600;line-height:1.4;letter-spacing:-.5px;margin:0 0 10px;text-align:left}
.yf-directory-item h2 a:hover{color:#397af2}
.yf-directory-item p{font-size:14px;line-height:1.85;margin:0;max-width:680px;text-align:left}
.yf-directory-detail{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:10px 16px;min-height:44px;border:1px solid #dbe6f9;border-radius:6px;color:#397af2;background:#f8faff;white-space:nowrap;font-size:13px;font-weight:550;text-decoration:none}
.yf-directory-detail:hover{background:#397af2;color:#fff;border-color:#397af2}
.yf-directory-planned{background:#fcfdff;border-style:dashed;box-shadow:none}
.yf-directory-planned .yf-directory-icon{background:#f0f2f7;color:#8a98ad}
.yf-directory-planned .yf-status{background:#eef0f5;color:#758297}
.yf-directory-item .yf-product-pending{font-size:12px;padding:10px 16px;color:#8a98ad;background:transparent;letter-spacing:0;font-weight:400}
.yf-directory-count{margin:22px 2px 0;font-size:12px;color:#758297}
.yf-directory-section .yf-service-links{border-top-color:#e3e9f2;margin-top:35px;font-size:13px}
@media(max-width:850px){.yf-directory-item{grid-template-columns:72px minmax(0,1fr);gap:20px;padding:26px}.yf-directory-icon{width:72px;height:72px;border-radius:16px}.yf-directory-icon img{width:54px;height:54px}.yf-directory-detail,.yf-directory-item .yf-product-pending{grid-column:2;justify-self:start}.yf-directory-filters{grid-template-columns:minmax(0,1fr) 180px auto;gap:12px;padding:20px}.yf-directory-item h2{font-size:22px}}
@media(max-width:560px){.yf-directory-section{padding:30px 0 55px}.yf-directory-filters{grid-template-columns:minmax(0,1fr) 86px;padding:18px;gap:14px}.yf-directory-filters>div:first-of-type{grid-column:1/-1}.yf-directory-filters>div:nth-of-type(2){grid-column:1}.yf-directory-filters button{grid-column:2}.yf-directory-item{padding:22px;gap:16px;grid-template-columns:52px minmax(0,1fr)}.yf-directory-icon{width:52px;height:52px;border-radius:13px;align-self:start}.yf-directory-icon img{width:40px;height:40px;border-radius:9px}.yf-directory-icon svg{width:32px;height:32px}.yf-directory-item h2{font-size:19px;letter-spacing:-.4px}.yf-directory-item p{font-size:13px}.yf-directory-meta{flex-wrap:wrap;gap:8px;font-size:11px}.yf-directory-detail{font-size:12px;padding:8px 14px;gap:18px}}
